diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon.c b/src/daemon.c index 309463cd5..4df059544 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -130,6 +130,7 @@ daemonize_set_user(void) #endif } +#ifndef G_OS_WIN32 static void daemonize_detach(void) { @@ -160,6 +161,7 @@ daemonize_detach(void) g_debug("daemonized!"); } +#endif void daemonize(bool detach) @@ -188,7 +190,7 @@ daemonize(bool detach) } #else /* no daemonization on WIN32 */ - (void)options; + (void)detach; #endif } |