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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue