Issue #22082: Fix a compiler warning (function is not a prototype)

This commit is contained in:
Victor Stinner 2014-07-27 16:11:30 +02:00
parent 501b13c622
commit 331a726b38
1 changed files with 2 additions and 2 deletions

View File

@ -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++) {