aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openrc-run/openrc-run.c4
-rw-r--r--src/openrc/rc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/openrc-run/openrc-run.c b/src/openrc-run/openrc-run.c
index c7749f32..f2bf76b9 100644
--- a/src/openrc-run/openrc-run.c
+++ b/src/openrc-run/openrc-run.c
@@ -161,7 +161,7 @@ handle_signal(int sig)
}
static void
-unhotplug()
+unhotplug(void)
{
char *file = NULL;
@@ -788,7 +788,7 @@ svc_start_deps(void)
services = NULL;
}
-static void svc_start_real()
+static void svc_start_real(void)
{
bool started;
RC_STRING *svc, *svc2;
diff --git a/src/openrc/rc.c b/src/openrc/rc.c
index c853c829..3f023492 100644
--- a/src/openrc/rc.c
+++ b/src/openrc/rc.c
@@ -452,7 +452,7 @@ handle_signal(int sig)
}
static void
-do_sysinit()
+do_sysinit(void)
{
struct utsname uts;
const char *sys;