summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.h
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-04-02 08:19:55 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-04-05 10:32:00 +0200
commit458e610a988d6c0db332b607250e75a94f0b2c03 (patch)
tree375d2e3b0a92466cfc28228dba766e693bd0bf91 /src/ipcpd/ipcp.h
parent3b03c4b2bcbcf5a913a3127d2b45283540c505c3 (diff)
downloadouroboros-458e610a988d6c0db332b607250e75a94f0b2c03.tar.gz
ouroboros-458e610a988d6c0db332b607250e75a94f0b2c03.zip
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 <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd/ipcp.h')
-rw-r--r--src/ipcpd/ipcp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ipcpd/ipcp.h b/src/ipcpd/ipcp.h
index 3771c1e4..5417fc74 100644
--- a/src/ipcpd/ipcp.h
+++ b/src/ipcpd/ipcp.h
@@ -32,7 +32,6 @@
#include <pthread.h>
#include <time.h>
-#include <signal.h>
enum ipcp_state {
IPCP_NULL = 0,
@@ -127,11 +126,6 @@ int ipcp_wait_state(enum ipcp_state state,
int ipcp_parse_arg(int argc,
char * argv[]);
-/* Handle shutdown of IPCP */
-void ipcp_sig_handler(int sig,
- siginfo_t * info,
- void * c);
-
/* Helper functions for directory entries, could be moved */
uint8_t * ipcp_hash_dup(const uint8_t * hash);