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:
parent
5f37591a16
commit
bd8ad942fe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue