aboutsummaryrefslogtreecommitdiff
path: root/src/includes
diff options
context:
space:
mode:
Diffstat (limited to 'src/includes')
-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. */