diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/signals.c | 4 | ||||
-rw-r--r-- | Src/signals.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Src/signals.c b/Src/signals.c index 649d78b73..e67887170 100644 --- a/Src/signals.c +++ b/Src/signals.c @@ -93,7 +93,7 @@ install_handler(int sig) #ifdef POSIX_SIGNALS struct sigaction act; - act.sa_handler = (SIGNAL_HANDTYPE) handler; + act.sa_handler = (SIGNAL_HANDTYPE) zhandler; sigemptyset(&act.sa_mask); /* only block sig while in handler */ act.sa_flags = 0; # ifdef SA_INTERRUPT /* SunOS 4.x */ @@ -401,7 +401,7 @@ signal_suspend(int sig, int sig2) /**/ mod_export RETSIGTYPE -handler(int sig) +zhandler(int sig) { sigset_t newmask, oldmask; diff --git a/Src/signals.h b/Src/signals.h index 4ac19aa3e..4b8197d84 100644 --- a/Src/signals.h +++ b/Src/signals.h @@ -82,7 +82,7 @@ sigset_t oset; \ queue_front = (queue_front + 1) % MAX_QUEUE_SIZE; \ oset = signal_setmask(signal_mask_queue[queue_front]); \ - handler(signal_queue[queue_front]); /* handle queued signal */ \ + zhandler(signal_queue[queue_front]); /* handle queued signal */ \ signal_setmask(oset); \ } \ } while (0) |