X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fdaemon-with-notify%2Fdaemon.c;h=d730c3d08f53f7ba4a07f02cb7ae2ff253507aa2;hp=99f7125b62e849c0eaa94bd3cb6ff79015c2fe64;hb=487c0f04ecc9b6dc9b9fd9528cbf02b79d9f92b7;hpb=bc10f8a1322e56d2c2ee6273befcf05b736c9dd8;ds=sidebyside diff --git a/ccan/daemon-with-notify/daemon.c b/ccan/daemon-with-notify/daemon.c index 99f7125b..d730c3d0 100644 --- a/ccan/daemon-with-notify/daemon.c +++ b/ccan/daemon-with-notify/daemon.c @@ -38,8 +38,8 @@ #include #include -int daemonize(int nochdir, int noclose, int wait_sigusr1); -int daemon_is_ready(void); +#include + void sigusr1_handler(int sig); pid_t parent_pid;