Rename daemon() to start_daemon().

daemon() conflicted with the standard library function, which is
included by default on OS X.
This commit is contained in:
John "Elwin" Edwards 2013-09-07 08:08:00 -04:00
parent 05b8759305
commit 720d587422
12 changed files with 25 additions and 25 deletions

View file

@ -85,10 +85,10 @@ int (*func)();
}
/*
* daemon:
* start_daemon:
* Start a daemon, takes a function.
*/
daemon(func, arg, type)
start_daemon(func, arg, type)
int arg, type, (*func)();
{
d_insert(func, arg, type, DAEMON);