summaryrefslogtreecommitdiff
path: root/tools/start-stop-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/start-stop-daemon.c')
-rw-r--r--tools/start-stop-daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/start-stop-daemon.c b/tools/start-stop-daemon.c
index f2a1e9434b..5903f8732f 100644
--- a/tools/start-stop-daemon.c
+++ b/tools/start-stop-daemon.c
@@ -280,7 +280,7 @@ static void add_namespace(const char *path)
#endif
#ifdef HAVE_LXC
-static void set_namespaces()
+static void set_namespaces(void)
{
struct namespace *namespace;
int fd;
@@ -294,7 +294,7 @@ static void set_namespaces()
}
}
#else
-static void set_namespaces()
+static void set_namespaces(void)
{
if (!LIST_EMPTY(&namespace_head))
fatal("LCX namespaces not supported");