summaryrefslogtreecommitdiff
path: root/jaildaemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'jaildaemon.c')
-rw-r--r--jaildaemon.c4
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 );
58static int add_task_to_kqueue( int kq, daemon_task * task_in ); 58static int add_task_to_kqueue( int kq, daemon_task * task_in );
59static pid_t fork_and_jail( int jid, uid_t uid, gid_t gid, char * proctitle ); 59static pid_t fork_and_jail( int jid, uid_t uid, gid_t gid, char * proctitle );
60static void fork_and_execve( int kq, daemon_task * task ); 60static void fork_and_execve( int kq, daemon_task * task );
61static int fork_fork_slave( ); 61static int fork_fork_slave( void );
62static void exerr( char * message, ... ); 62static void exerr( char * message, ... );
63static void usage( char * command ); 63static void usage( char * command );
64 64
@@ -147,7 +147,7 @@ static void fork_slave( int master_fd ) {
147 } 147 }
148} 148}
149 149
150static int fork_fork_slave( ) { 150static 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)