mirror of https://github.com/python/cpython
init_name_op(): add (void) to the argument list to make it a valid
prototype, for gcc -Wstrict-prototypes.
This commit is contained in:
parent
1400baa5d6
commit
0ba9e3ac27
|
@ -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[] = {
|
||||
|
|
Loading…
Reference in New Issue