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

@ -227,12 +227,12 @@ char **envp;
/*
* Start up daemons and fuses
*/
daemon(doctor, &player, AFTER);
start_daemon(doctor, &player, AFTER);
fuse(swander, 0, WANDERTIME, AFTER);
daemon(stomach, 0, AFTER);
daemon(runners, 0, AFTER);
start_daemon(stomach, 0, AFTER);
start_daemon(runners, 0, AFTER);
if (player.t_ctype == C_THIEF)
daemon(trap_look, 0, AFTER);
start_daemon(trap_look, 0, AFTER);
/* Choose a quest item */
quest_item = rnd(MAXRELIC);