[Python-checkins] CVS: python/dist/src/Parser intrcheck.c,2.34,2.35

Thomas Wouters python-dev@python.org
Sat, 22 Jul 2000 16:33:24 -0700


Update of /cvsroot/python/python/dist/src/Parser
In directory slayer.i.sourceforge.net:/tmp/cvs-serv9902

Modified Files:
	intrcheck.c 
Log Message:

Remember to return something if RETSIGTYPE is not 'void'. Do we still need
to worry about systems that have signal-handlers return 'int' ? Not all of
the code does, though nothing will break because of it.



Index: intrcheck.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/intrcheck.c,v
retrieving revision 2.34
retrieving revision 2.35
diff -C2 -r2.34 -r2.35
*** intrcheck.c	2000/07/22 19:20:54	2.34
--- intrcheck.c	2000/07/22 23:33:22	2.35
***************
*** 169,172 ****
--- 169,175 ----
  	signal(SIGINT, intcatcher);
  	Py_AddPendingCall(checksignals_witharg, NULL);
+ #if RETSIGTYPE != void
+ 	return 0;
+ #endif
  }