* Simplify daemonize ifdefs.

This commit is contained in:
Justin Maggard
2011-09-03 01:32:56 +00:00
parent ef37d2e993
commit 4857493e4f
3 changed files with 11 additions and 16 deletions

View File

@@ -31,13 +31,11 @@
#include "config.h"
#ifndef USE_DAEMON
/* daemonize()
* "fork" to background, detach from terminal, etc...
* returns: pid of the daemon, exits upon failure */
int
daemonize(void);
#endif
/* writepidfile()
* write the pid to a file */