mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
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:
parent
56055a4749
commit
4f1b2081e9
6 changed files with 13 additions and 36 deletions
|
|
@ -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 *);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue