]> git.ozlabs.org Git - ccan/commitdiff
use proper include path for daemon.h
authorStewart Smith <stewart@flamingspork.com>
Fri, 11 Feb 2011 00:13:37 +0000 (11:13 +1100)
committerStewart Smith <stewart@flamingspork.com>
Fri, 11 Feb 2011 00:13:37 +0000 (11:13 +1100)
ccan/daemon-with-notify/daemon.c

index 99f7125b62e849c0eaa94bd3cb6ff79015c2fe64..d730c3d08f53f7ba4a07f02cb7ae2ff253507aa2 100644 (file)
@@ -38,8 +38,8 @@
 #include <unistd.h>
 #include <sys/select.h>
 
-int daemonize(int nochdir, int noclose, int wait_sigusr1);
-int daemon_is_ready(void);
+#include <ccan/daemon-with-notify/daemon.h>
+
 void sigusr1_handler(int sig);
 
 pid_t parent_pid;