SF # 533070 Silence AIX C Compiler Warnings

Warning caused by using &func.  & is not necessary.
This commit is contained in:
Neal Norwitz
2002-06-13 21:39:47 +00:00
parent a9d29fed54
commit 046b35cf44
2 changed files with 2 additions and 2 deletions

View File

@@ -366,7 +366,7 @@ initsignal(void)
Py_INCREF(IntHandler);
Py_DECREF(Handlers[SIGINT].func);
Handlers[SIGINT].func = IntHandler;
old_siginthandler = PyOS_setsig(SIGINT, &signal_handler);
old_siginthandler = PyOS_setsig(SIGINT, signal_handler);
}
#ifdef SIGHUP

View File

@@ -1884,7 +1884,7 @@ PyTypeObject *_Py_cobject_hack = &PyCObject_Type;
/* Hack to force loading of abstract.o */
int (*_Py_abstract_hack)(PyObject *) = &PyObject_Size;
int (*_Py_abstract_hack)(PyObject *) = PyObject_Size;
/* Python's malloc wrappers (see pymem.h) */