summaryrefslogtreecommitdiffstats
path: root/Objects/classobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-05-22 02:33:08 (GMT)
committerGuido van Rossum <guido@python.org>2001-05-22 02:33:08 (GMT)
commit0ba9e3ac27d814bde97bbec212a4877e73d59c64 (patch)
tree023d60f01b0c0ad878e0c6f23303d9c759bddcb8 /Objects/classobject.c
parent1400baa5d675c728acb7e719943a050d9be69131 (diff)
downloadcpython-0ba9e3ac27d814bde97bbec212a4877e73d59c64.zip
cpython-0ba9e3ac27d814bde97bbec212a4877e73d59c64.tar.gz
cpython-0ba9e3ac27d814bde97bbec212a4877e73d59c64.tar.bz2
init_name_op(): add (void) to the argument list to make it a valid
prototype, for gcc -Wstrict-prototypes.
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r--Objects/classobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c
index 43d2890..06f6714 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[] = {