diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/diskstat.c | 4 | ||||
-rw-r--r-- | util/outmail.c | 2 | ||||
-rw-r--r-- | util/xchatd.c | 16 |
3 files changed, 11 insertions, 11 deletions
diff --git a/util/diskstat.c b/util/diskstat.c index 370c1a7b..1b785120 100644 --- a/util/diskstat.c +++ b/util/diskstat.c @@ -305,7 +305,7 @@ main(int argc, char **argv) } #endif - signal(SIGINT, printresult); + Signal(SIGINT, printresult); /* find out how many devices we have */ if ((num_devices = getnumdevs()) < 0) err(1, "can't get number of devices"); @@ -424,7 +424,7 @@ main(int argc, char **argv) * If the user stops the program (control-Z) and then resumes it, * print out the header again. */ - (void)signal(SIGCONT, phdr); + (void)Signal(SIGCONT, phdr); for (headercount = 1;;) { struct devinfo *tmp_dinfo; diff --git a/util/outmail.c b/util/outmail.c index 508d857b..8f01c486 100644 --- a/util/outmail.c +++ b/util/outmail.c @@ -218,7 +218,7 @@ void parseserver(char *sx, char **name, int *port) int main(int argc, char **argv, char **envp) { int ch; - signal(SIGHUP, wakeup); + Signal(SIGHUP, wakeup); initsetproctitle(argc, argv, envp); if(chdir(BBSHOME)) diff --git a/util/xchatd.c b/util/xchatd.c index bcc3d6ea..22be9620 100644 --- a/util/xchatd.c +++ b/util/xchatd.c @@ -3148,7 +3148,7 @@ start_daemon() for (fd = 1; fd < NSIG; fd++) { - signal(fd, SIG_IGN); + Signal(fd, SIG_IGN); } #endif @@ -3297,16 +3297,16 @@ main() log_init(); - signal(SIGBUS, SIG_IGN); - signal(SIGSEGV, SIG_IGN); - signal(SIGPIPE, SIG_IGN); - signal(SIGURG, SIG_IGN); + Signal(SIGBUS, SIG_IGN); + Signal(SIGSEGV, SIG_IGN); + Signal(SIGPIPE, SIG_IGN); + Signal(SIGURG, SIG_IGN); - signal(SIGCHLD, reaper); - signal(SIGTERM, abort_server); + Signal(SIGCHLD, reaper); + Signal(SIGTERM, abort_server); #ifdef SERVER_USAGE - signal(SIGPROF, server_usage); + Signal(SIGPROF, server_usage); #endif /* ----------------------------- */ |