summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/signalmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index b9f7963..0ce755f 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -85,6 +85,11 @@ static PyObject *DefaultHandler;
static PyObject *IgnoreHandler;
static PyObject *IntHandler;
+/* On Solaris 8, gcc will produce a warning that the function
+ declaration is not a prototype. This is caused by the definition of
+ SIG_DFL as (void (*)())0; the correct declaration would have been
+ (void (*)(int))0. */
+
static PyOS_sighandler_t old_siginthandler = SIG_DFL;