]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
init_name_op(): add (void) to the argument list to make it a valid
authorGuido van Rossum <guido@python.org>
Tue, 22 May 2001 02:33:08 +0000 (02:33 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 22 May 2001 02:33:08 +0000 (02:33 +0000)
prototype, for gcc -Wstrict-prototypes.

Objects/classobject.c

index 43d289027747fff4753b853eb10f28485f119e50..06f6714d9a99d3c4cf179e9c51e1afe008bf01c8 100644 (file)
@@ -1655,7 +1655,7 @@ instance_ipow(PyObject *v, PyObject *w, PyObject *z)
 static PyObject **name_op = NULL;
 
 static int 
-init_name_op()
+init_name_op(void)
 {
        int i;
        char *_name_op[] = {