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.
This commit is contained in:
Thomas Wouters 2000-07-22 23:33:22 +00:00
parent 5f37591a16
commit bd8ad942fe
1 changed files with 3 additions and 0 deletions

View File

@ -168,6 +168,9 @@ intcatcher(int sig)
}
signal(SIGINT, intcatcher);
Py_AddPendingCall(checksignals_witharg, NULL);
#if RETSIGTYPE != void
return 0;
#endif
}
static RETSIGTYPE (*old_siginthandler)(int) = SIG_DFL;