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:
parent
05b8759305
commit
720d587422
12 changed files with 25 additions and 25 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue