]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document SIG_* warning causes on Solaris.
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 6 Mar 2001 12:13:56 +0000 (12:13 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 6 Mar 2001 12:13:56 +0000 (12:13 +0000)
Modules/signalmodule.c

index b9f7963f8df2774a50f75cc2ab1f58c1883135b2..0ce755f2fae2f70e2090b8c959a3813265097ee9 100644 (file)
@@ -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;