X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fdaemon-with-notify%2Fdaemon.c;h=625d65579499b8786d8764f3de92d3ce7696ffb0;hp=d730c3d08f53f7ba4a07f02cb7ae2ff253507aa2;hb=8badbce50fdf6f49f8178c064c73f5e0f39174a9;hpb=487c0f04ecc9b6dc9b9fd9528cbf02b79d9f92b7;ds=sidebyside diff --git a/ccan/daemon-with-notify/daemon.c b/ccan/daemon-with-notify/daemon.c index d730c3d0..625d6557 100644 --- a/ccan/daemon-with-notify/daemon.c +++ b/ccan/daemon-with-notify/daemon.c @@ -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;