summaryrefslogtreecommitdiffstats
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-03-06 12:13:56 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-03-06 12:13:56 (GMT)
commitf58de1bd678e3d032ff8f6a569b5448d68eb1ff7 (patch)
tree9b9c80dbebcad653db545b00e9f155ba34b87615 /Modules/signalmodule.c
parent2b6727bd8a714d334d34e6a9fabc1d0f651633a7 (diff)
downloadcpython-f58de1bd678e3d032ff8f6a569b5448d68eb1ff7.zip
cpython-f58de1bd678e3d032ff8f6a569b5448d68eb1ff7.tar.gz
cpython-f58de1bd678e3d032ff8f6a569b5448d68eb1ff7.tar.bz2
Document SIG_* warning causes on Solaris.
Diffstat (limited to 'Modules/signalmodule.c')
-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;