Commit 331a726b authored by Victor Stinner's avatar Victor Stinner

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

parent 501b13c6
...@@ -55,7 +55,7 @@ static PyObject * ...@@ -55,7 +55,7 @@ static PyObject *
slot_tp_new(PyTypeObject *type, PyObject *args, PyObject *kwds); slot_tp_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
static void static void
clear_slotdefs(); clear_slotdefs(void);
/* /*
* finds the beginning of the docstring's introspection signature. * finds the beginning of the docstring's introspection signature.
...@@ -6533,7 +6533,7 @@ init_slotdefs(void) ...@@ -6533,7 +6533,7 @@ init_slotdefs(void)
} }
/* Undo init_slotdefs, releasing the interned strings. */ /* Undo init_slotdefs, releasing the interned strings. */
static void clear_slotdefs() static void clear_slotdefs(void)
{ {
slotdef *p; slotdef *p;
for (p = slotdefs; p->name; p++) { for (p = slotdefs; p->name; p++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment