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

@ -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;

View file

@ -52,7 +52,7 @@ doctor()
*/
swander()
{
daemon(rollwand, 0, BEFORE);
start_daemon(rollwand, 0, BEFORE);
}
/*

View file

@ -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();
}