From: Stewart Smith Date: Fri, 11 Feb 2011 00:17:08 +0000 (+1100) Subject: fix function declaration for daemon_is_ready() X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=8badbce50fdf6f49f8178c064c73f5e0f39174a9 fix function declaration for daemon_is_ready() --- 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;