Kaydet (Commit) 41785150 authored tarafından Neal Norwitz's avatar Neal Norwitz

SF # 533070 Silence AIX C Compiler Warnings

Warning caused by using &func.  & is not necessary.
üst e7b8ecf1
...@@ -522,7 +522,7 @@ initsignal(void) ...@@ -522,7 +522,7 @@ initsignal(void)
Py_INCREF(IntHandler); Py_INCREF(IntHandler);
Py_DECREF(Handlers[SIGINT].func); Py_DECREF(Handlers[SIGINT].func);
Handlers[SIGINT].func = IntHandler; Handlers[SIGINT].func = IntHandler;
old_siginthandler = PyOS_setsig(SIGINT, &signal_handler); old_siginthandler = PyOS_setsig(SIGINT, signal_handler);
} }
#ifdef SIGHUP #ifdef SIGHUP
......
...@@ -1953,7 +1953,7 @@ PyTypeObject *_Py_cobject_hack = &PyCObject_Type; ...@@ -1953,7 +1953,7 @@ PyTypeObject *_Py_cobject_hack = &PyCObject_Type;
/* Hack to force loading of abstract.o */ /* 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) */ /* Python's malloc wrappers (see pymem.h) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment