diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2013-12-17 08:24:45 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2013-12-18 16:04:49 -0500 |
commit | 8afe5270310698d24fff370276c7fd91eb816720 (patch) | |
tree | ec358c3531f170d8d70e12ae5ceefb56d6c70b9a /math.c | |
parent | 40911339c45a880abbe6ad60dac4718a402d88ab (diff) |
Replace signal_t with void
Now that Imake SIGNALRETURNSINT has been removed, the signal handler
function return type can only be void.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -144,7 +144,7 @@ void fail_op(void) } /*ARGSUSED*/ -signal_t fperr(int sig) +void fperr(int sig) { #if defined(SYSV) || defined(SVR4) || defined(linux) signal(SIGFPE, fperr); @@ -155,7 +155,7 @@ signal_t fperr(int sig) /* for VAX BSD4.3 */ /*ARGSUSED*/ -signal_t illerr(int sig) +void illerr(int sig) { /* not reset when caught? */ signal(SIGILL, illerr); |