summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.c
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2023-02-09 17:38:29 +0100
committerSander Vrijders <[email protected]>2023-02-13 21:10:10 +0100
commit3b5d1a8f495d5b6bda72f9962516d5a1e273481b (patch)
treef0a64a13260e930148188db70d3e9dcf04ddd5ee /src/ipcpd/ipcp.c
parentb0102d9dc3cb8b543e4e079ce68f1e06970b1cbb (diff)
downloadouroboros-3b5d1a8f495d5b6bda72f9962516d5a1e273481b.tar.gz
ouroboros-3b5d1a8f495d5b6bda72f9962516d5a1e273481b.zip
lib: Fix prototypes missing 'void'
Found by Clang version 15. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/ipcp.c')
-rw-r--r--src/ipcpd/ipcp.c10
1 files changed, 5 insertions, 5 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;