summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/server.c2
-rw-r--r--src/util/util.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/util/server.c b/src/util/server.c
index a0ec2a26..007b3624 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -178,7 +178,7 @@ static void sig_hup(int sig)
return;
}
-static void sig_term(int sig)
+void sig_term(int sig)
{
#if HAVE_GETPGRP
static int done_sigterm;
diff --git a/src/util/util.h b/src/util/util.h
index 0b691a7e..25e7b6c2 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -218,6 +218,7 @@ int server_setup(const char *name, int flags,
const char *conf_entry,
struct main_context **main_ctx);
void server_loop(struct main_context *main_ctx);
+void sig_term(int sig);
/* from signal.c */
#include <signal.h>