diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-07-23 21:18:09 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-07-23 21:18:09 (GMT) |
commit | 4f1b2081e9dde910048ef679f5afe252023a4031 (patch) | |
tree | d0329ad8a22d260b10e05c31ca6291eb26f70b27 /Modules/fpectlmodule.c | |
parent | 56055a474955811fd672e406d0a175349879759d (diff) | |
download | cpython-4f1b2081e9dde910048ef679f5afe252023a4031.zip cpython-4f1b2081e9dde910048ef679f5afe252023a4031.tar.gz cpython-4f1b2081e9dde910048ef679f5afe252023a4031.tar.bz2 |
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).
Diffstat (limited to 'Modules/fpectlmodule.c')
-rw-r--r-- | Modules/fpectlmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c index 8055636..039deb4 100644 --- a/Modules/fpectlmodule.c +++ b/Modules/fpectlmodule.c @@ -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 *); |