From 9c93249412076dcf52732561b0f6150c3e8000d8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 18 Jan 2009 18:29:30 +0100 Subject: daemon: pass "detach" flag to daemonize() This way, we don't have to pass the full "Options" object to daemonize(). --- src/daemon.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/daemon.h') diff --git a/src/daemon.h b/src/daemon.h index 969630156..b58160d32 100644 --- a/src/daemon.h +++ b/src/daemon.h @@ -19,7 +19,7 @@ #ifndef DAEMON_H #define DAEMON_H -#include "cmdline.h" +#include void daemonize_init(const char *user, const char *pidfile); @@ -47,6 +47,6 @@ void daemonize_set_user(void); void -daemonize(Options *options); +daemonize(bool detach); #endif -- cgit v1.2.3