diff mbox

[OpenWrt-Devel,procd,v2,12/17] ujail: fixup code style: "func()" -> "func(void)"

Message ID 1448474090-30280-13-git-send-email-champetier.etienne@gmail.com
State Superseded
Headers show

Commit Message

Etienne Champetier Nov. 25, 2015, 5:54 p.m. UTC
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
---
 jail/jail.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/jail/jail.c b/jail/jail.c
index 5b24f63..b7e6946 100644
--- a/jail/jail.c
+++ b/jail/jail.c
@@ -139,7 +139,7 @@  static int mount_bind(const char *root, const char *path, const char *name, int
 	return 0;
 }
 
-static int build_jail_fs()
+static int build_jail_fs(void)
 {
 	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");
 }
 
-static int exec_jail()
+static int exec_jail(void)
 {
 	char **envp = build_envp(opts.seccomp);
 	if (!envp)