diff --git a/bson/buffer.c b/bson/buffer.c index 0b1941cb57..bb92ab3ee5 100644 --- a/bson/buffer.c +++ b/bson/buffer.c @@ -33,7 +33,7 @@ struct buffer { /* Set Python's error indicator to MemoryError. * Called after allocation failures. */ -static void set_memory_error() { +static void set_memory_error(void) { PyErr_NoMemory(); }