]> git.ozlabs.org Git - ccan/blobdiff - ccan/daemon-with-notify/daemon.c
update test case copied from daemonize to use some of daemon-with-notify features
[ccan] / ccan / daemon-with-notify / daemon.c
index d730c3d08f53f7ba4a07f02cb7ae2ff253507aa2..625d65579499b8786d8764f3de92d3ce7696ffb0 100644 (file)
@@ -50,7 +50,7 @@ void sigusr1_handler(int sig)
     _exit(EXIT_SUCCESS);
 }
 
-int daemon_is_ready()
+int daemon_is_ready(void)
 {
   kill(parent_pid, SIGUSR1);
   return 0;