diff options
-rw-r--r-- | jaildaemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jaildaemon.c b/jaildaemon.c index d9f673f..f50b343 100644 --- a/jaildaemon.c +++ b/jaildaemon.c | |||
@@ -58,7 +58,7 @@ static int copy_daemontask( daemon_task ** out, daemon_task * const in ); | |||
58 | static int add_task_to_kqueue( int kq, daemon_task * task_in ); | 58 | static int add_task_to_kqueue( int kq, daemon_task * task_in ); |
59 | static pid_t fork_and_jail( int jid, uid_t uid, gid_t gid, char * proctitle ); | 59 | static pid_t fork_and_jail( int jid, uid_t uid, gid_t gid, char * proctitle ); |
60 | static void fork_and_execve( int kq, daemon_task * task ); | 60 | static void fork_and_execve( int kq, daemon_task * task ); |
61 | static int fork_fork_slave( ); | 61 | static int fork_fork_slave( void ); |
62 | static void exerr( char * message, ... ); | 62 | static void exerr( char * message, ... ); |
63 | static void usage( char * command ); | 63 | static void usage( char * command ); |
64 | 64 | ||
@@ -147,7 +147,7 @@ static void fork_slave( int master_fd ) { | |||
147 | } | 147 | } |
148 | } | 148 | } |
149 | 149 | ||
150 | static int fork_fork_slave( ) { | 150 | static int fork_fork_slave( void ) { |
151 | int sockets[2]; | 151 | int sockets[2]; |
152 | 152 | ||
153 | if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) < 0) | 153 | if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) < 0) |