aboutsummaryrefslogtreecommitdiff
path: root/src/includes/rc-misc.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-01 13:20:19 +0000
committerRoy Marples <roy@marples.name>2008-02-01 13:20:19 +0000
commitf2ce40d90b92f6049745f6f06191bd43b6b931dd (patch)
treebc64ec292bbe407b420f6795ce1da7cc4e01c08a /src/includes/rc-misc.h
parent01e148d29d643af342a67bfa2f70928d6a6e0b75 (diff)
Use sigaction over signal.
Diffstat (limited to 'src/includes/rc-misc.h')
-rw-r--r--src/includes/rc-misc.h2
1 files changed, 2 insertions, 0 deletions
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 <sys/stat.h>
#include <errno.h>
+#include <signal.h>
#include <stdbool.h>
#include <string.h>
@@ -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. */