(daemon, daemonize): Rename to avoid name clash with BSD's daemon().
(daemonize): Supply missing declaration.
This commit is contained in:
parent
30f2b2c4ea
commit
84b8189c13
3 changed files with 9 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue