diff options
Diffstat (limited to 'src/ipcpd')
-rw-r--r-- | src/ipcpd/ipcp.c | 10 | ||||
-rw-r--r-- | src/ipcpd/shim-data.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c index 395e9b78..235c8eb4 100644 --- a/src/ipcpd/ipcp.c +++ b/src/ipcpd/ipcp.c @@ -808,7 +808,7 @@ int ipcp_init(int argc, return ret; } -int ipcp_start() +int ipcp_start(void) { sigset_t sigset; sigemptyset(&sigset); @@ -848,7 +848,7 @@ int ipcp_start() return -1; } -void ipcp_sigwait() +void ipcp_sigwait(void) { siginfo_t info; @@ -904,7 +904,7 @@ void ipcp_sigwait() } } -void ipcp_stop() +void ipcp_stop(void) { log_info("IPCP %d shutting down.", getpid()); @@ -914,7 +914,7 @@ void ipcp_stop() tpm_stop(ipcpi.tpm); } -void ipcp_fini() +void ipcp_fini(void) { tpm_destroy(ipcpi.tpm); @@ -951,7 +951,7 @@ void ipcp_set_state(enum ipcp_state state) pthread_mutex_unlock(&ipcpi.state_mtx); } -enum ipcp_state ipcp_get_state() +enum ipcp_state ipcp_get_state(void) { enum ipcp_state state; diff --git a/src/ipcpd/shim-data.c b/src/ipcpd/shim-data.c index a499b2d4..035d9ebb 100644 --- a/src/ipcpd/shim-data.c +++ b/src/ipcpd/shim-data.c @@ -139,7 +139,7 @@ static void dir_entry_destroy(struct dir_entry * entry) free(entry); } -struct shim_data * shim_data_create() +struct shim_data * shim_data_create(void) { struct shim_data * sd; |