mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
SF # 533070 Silence AIX C Compiler Warnings
Warning caused by using &func. & is not necessary.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user