summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sig_handler.c2
-rw-r--r--src/sig_handler.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/sig_handler.c b/src/sig_handler.c
index 7a1ad74..30929e7 100644
--- a/src/sig_handler.c
+++ b/src/sig_handler.c
@@ -120,7 +120,7 @@ int signal_handle()
int return_value = 0;
int sig;
- for(sig=1; sig < _NSIG; ++sig) {
+ for(sig=1; sig < NSIG; ++sig) {
if(sigismember(&set, sig)) {
switch(sig) {
case SIGINT: log_printf(NOTICE, "SIG-Int caught, exitting"); return_value = 1; break;
diff --git a/src/sig_handler.h b/src/sig_handler.h
index 9fd6386..4fd5efe 100644
--- a/src/sig_handler.h
+++ b/src/sig_handler.h
@@ -35,8 +35,6 @@
#ifndef _SIG_HANDLER_H_
#define _SIG_HANDLER_H_
-#include <signal.h>
-
int signal_init();
int signal_handle();
void signal_stop();