diff options
author | Christian Pointner <equinox@anytun.org> | 2008-12-29 06:13:48 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-12-29 06:13:48 +0000 |
commit | d759331ef32bbf0908bce4d8753293ef08bbbfed (patch) | |
tree | 67e33b5fe11e14d154beaa6bf609aebac760645c /src/signal.h | |
parent | added -O2 to CCFLAGS (diff) |
improved signal handling
Diffstat (limited to 'src/signal.h')
-rw-r--r-- | src/signal.h | 5 |
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 |