From 331a726b38b290bdd3193052f0f9b6e32821a260 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 27 Jul 2014 16:11:30 +0200 Subject: Issue #22082: Fix a compiler warning (function is not a prototype) --- Objects/typeobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index b97c32e..8e7c25a 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -55,7 +55,7 @@ static PyObject * slot_tp_new(PyTypeObject *type, PyObject *args, PyObject *kwds); static void -clear_slotdefs(); +clear_slotdefs(void); /* * finds the beginning of the docstring's introspection signature. @@ -6533,7 +6533,7 @@ init_slotdefs(void) } /* Undo init_slotdefs, releasing the interned strings. */ -static void clear_slotdefs() +static void clear_slotdefs(void) { slotdef *p; for (p = slotdefs; p->name; p++) { -- cgit v0.12