From: Guido van Rossum Date: Tue, 22 May 2001 02:33:08 +0000 (+0000) Subject: init_name_op(): add (void) to the argument list to make it a valid X-Git-Tag: v2.2a3~1719 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ba9e3ac27d814bde97bbec212a4877e73d59c64;p=thirdparty%2FPython%2Fcpython.git init_name_op(): add (void) to the argument list to make it a valid prototype, for gcc -Wstrict-prototypes. --- diff --git a/Objects/classobject.c b/Objects/classobject.c index 43d289027747..06f6714d9a99 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c @@ -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[] = {