summaryrefslogtreecommitdiff
path: root/src/signal.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-12-29 06:13:48 +0000
committerChristian Pointner <equinox@anytun.org>2008-12-29 06:13:48 +0000
commitd759331ef32bbf0908bce4d8753293ef08bbbfed (patch)
tree67e33b5fe11e14d154beaa6bf609aebac760645c /src/signal.h
parentadded -O2 to CCFLAGS (diff)
improved signal handling
Diffstat (limited to 'src/signal.h')
-rw-r--r--src/signal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/signal.h b/src/signal.h
index 3dd0440..328f849 100644
--- a/src/signal.h
+++ b/src/signal.h
@@ -35,8 +35,11 @@
#ifndef _SIGNAL_H_
#define _SIGNAL_H_
+#include <signal.h>
+
+extern volatile sig_atomic_t signal_exit;
+
void signal_init();
void handle_signal(int sig);
-void handle_signal_exit(int sig);
#endif