From 458e610a988d6c0db332b607250e75a94f0b2c03 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 2 Apr 2018 08:19:55 +0200 Subject: ipcpd: Remove signal handler from ipcp.h The signal handler is completely embedded in the source file. There was no more need to call it from elsewhere. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/ipcpd/ipcp.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/ipcpd/ipcp.c') 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 #include #include #include @@ -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; -- cgit v1.2.3