Removed all instances of RETSIGTYPE from the source code: signal

handlers "return void", according to ANSI C.
Removed the new Py_RETURN_FROM_SIGNAL_HANDLER macro.
Left RETSIGTYPE in the config stuff, because it's not clear to
me that others aren't relying on it (e.g., extension modules).
This commit is contained in:
Tim Peters 2000-07-23 21:18:09 +00:00
parent 56055a4749
commit 4f1b2081e9
6 changed files with 13 additions and 36 deletions

View file

@ -77,7 +77,7 @@ static jmp_buf PyFPE_jbuf;
static int PyFPE_counter = 0;
#endif
typedef RETSIGTYPE Sigfunc(int);
typedef void Sigfunc(int);
static Sigfunc sigfpe_handler;
static void fpe_reset(Sigfunc *);