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
|
|
@ -61,10 +61,10 @@ register int (*func)();
|
|||
}
|
||||
|
||||
/*
|
||||
* daemon:
|
||||
* start_daemon:
|
||||
* Start a daemon, takes a function.
|
||||
*/
|
||||
daemon(func, arg, type)
|
||||
start_daemon(func, arg, type)
|
||||
int (*func)(), arg, type;
|
||||
{
|
||||
register struct delayed_action *dev;
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ doctor()
|
|||
*/
|
||||
swander()
|
||||
{
|
||||
daemon(rollwand, 0, BEFORE);
|
||||
start_daemon(rollwand, 0, BEFORE);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -206,10 +206,10 @@ char **envp;
|
|||
/*
|
||||
* Start up daemons and fuses
|
||||
*/
|
||||
daemon(doctor, 0, AFTER);
|
||||
start_daemon(doctor, 0, AFTER);
|
||||
fuse(swander, 0, WANDERTIME, AFTER);
|
||||
daemon(stomach, 0, AFTER);
|
||||
daemon(runners, 0, AFTER);
|
||||
start_daemon(stomach, 0, AFTER);
|
||||
start_daemon(runners, 0, AFTER);
|
||||
playit();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue