ujail: fixup code style: "func()" -> "func(void)"
authorEtienne CHAMPETIER <champetier.etienne@gmail.com>
Fri, 27 Nov 2015 16:27:11 +0000 (16:27 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 27 Nov 2015 16:48:49 +0000 (17:48 +0100)
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
jail/jail.c

index 5b24f63..b7e6946 100644 (file)
@@ -139,7 +139,7 @@ static int mount_bind(const char *root, const char *path, const char *name, int
        return 0;
 }
 
        return 0;
 }
 
-static int build_jail_fs()
+static int build_jail_fs(void)
 {
        struct library *l;
        struct extra *m;
 {
        struct library *l;
        struct extra *m;
@@ -253,7 +253,7 @@ ujail will not use namespace/build a jail,\n\
 and will only drop capabilities/apply seccomp filter.\n\n");
 }
 
 and will only drop capabilities/apply seccomp filter.\n\n");
 }
 
-static int exec_jail()
+static int exec_jail(void)
 {
        char **envp = build_envp(opts.seccomp);
        if (!envp)
 {
        char **envp = build_envp(opts.seccomp);
        if (!envp)