]> git.ozlabs.org Git - ccan/commitdiff
fix function declaration for daemon_is_ready()
authorStewart Smith <stewart@flamingspork.com>
Fri, 11 Feb 2011 00:17:08 +0000 (11:17 +1100)
committerStewart Smith <stewart@flamingspork.com>
Fri, 11 Feb 2011 00:17:08 +0000 (11:17 +1100)
ccan/daemon-with-notify/daemon.c

index d730c3d08f53f7ba4a07f02cb7ae2ff253507aa2..625d65579499b8786d8764f3de92d3ce7696ffb0 100644 (file)
@@ -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);
   return 0;
 {
   kill(parent_pid, SIGUSR1);
   return 0;