init_name_op(): add (void) to the argument list to make it a valid

prototype, for gcc -Wstrict-prototypes.
This commit is contained in:
Guido van Rossum 2001-05-22 02:33:08 +00:00
parent 1400baa5d6
commit 0ba9e3ac27
1 changed files with 1 additions and 1 deletions

View 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[] = {