summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/ipcp.c')
-rw-r--r--src/ipcpd/ipcp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c
index 2321e2a8..dfb88057 100644
--- a/src/ipcpd/ipcp.c
+++ b/src/ipcpd/ipcp.c
@@ -44,6 +44,7 @@
#include "ipcp.h"
+#include <signal.h>
#include <string.h>
#include <sys/socket.h>
#include <stdlib.h>
@@ -59,9 +60,9 @@ struct cmd {
int fd;
};
-void ipcp_sig_handler(int sig,
- siginfo_t * info,
- void * c)
+static void ipcp_sig_handler(int sig,
+ siginfo_t * info,
+ void * c)
{
(void) c;