From f2ce40d90b92f6049745f6f06191bd43b6b931dd Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 1 Feb 2008 13:20:19 +0000 Subject: Use sigaction over signal. --- src/includes/rc-misc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/includes') diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index e034c1e5..946754ee 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -34,6 +34,7 @@ #include #include +#include #include #include @@ -133,6 +134,7 @@ bool rc_conf_yesno (const char *var); char **env_filter (void); char **env_config (void); bool service_plugable (const char *service); +void signal_setup (int sig, void (*handler)(int)); /* basename_c never modifies the argument. As such, if there is a trailing * slash then an empty string is returned. */ -- cgit v1.2.3