Commit bd8ad942 authored by Thomas Wouters's avatar Thomas Wouters

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.
parent 5f37591a
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment