Browse Source

fix function declaration for daemon_is_ready()

Stewart Smith 15 years ago
parent
commit
8badbce50f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/daemon-with-notify/daemon.c

+ 1 - 1
ccan/daemon-with-notify/daemon.c

@@ -50,7 +50,7 @@ void sigusr1_handler(int sig)
     _exit(EXIT_SUCCESS);
     _exit(EXIT_SUCCESS);
 }
 }
 
 
-int daemon_is_ready()
+int daemon_is_ready(void)
 {
 {
   kill(parent_pid, SIGUSR1);
   kill(parent_pid, SIGUSR1);
   return 0;
   return 0;