[Python-checkins] CVS: python/dist/src/Modules signalmodule.c,2.57,2.58

Martin v. L?wis loewis@users.sourceforge.net
Tue, 06 Mar 2001 04:13:58 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv13187/Modules

Modified Files:
	signalmodule.c 
Log Message:
Document SIG_* warning causes on Solaris.


Index: signalmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/signalmodule.c,v
retrieving revision 2.57
retrieving revision 2.58
diff -C2 -r2.57 -r2.58
*** signalmodule.c	2000/09/19 00:46:46	2.57
--- signalmodule.c	2001/03/06 12:13:56	2.58
***************
*** 86,89 ****
--- 86,94 ----
  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;