(daemon, daemonize): Rename to avoid name clash with BSD's daemon().

(daemonize): Supply missing declaration.
This commit is contained in:
Markus Armbruster 2005-03-09 14:45:41 +00:00
parent 30f2b2c4ea
commit 84b8189c13
3 changed files with 9 additions and 11 deletions

View file

@ -471,7 +471,7 @@ empth_exit(void)
if (pThread->bMainThread) {
/* The main line. Wait forever. */
while (1) {
if (daemon) {
if (daemonize) {
if (service_stopped())
shutdwn(0);
Sleep(3);