From: Victor Stinner Date: Sun, 27 Jul 2014 14:11:30 +0000 (+0200) Subject: Issue #22082: Fix a compiler warning (function is not a prototype) X-Git-Tag: v3.5.0a1~1180 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=331a726b38b290bdd3193052f0f9b6e32821a260;p=thirdparty%2FPython%2Fcpython.git Issue #22082: Fix a compiler warning (function is not a prototype) --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index b97c32ecbf58..8e7c25a213ff 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++) {