Mercurial > hg > early-roguelike
diff arogue5/main.c @ 107:f2951c4e28d9
Rename daemon() to start_daemon().
daemon() conflicted with the standard library function, which is
included by default on OS X.
| author | John "Elwin" Edwards | 
|---|---|
| date | Sat, 07 Sep 2013 08:08:00 -0400 | 
| parents | 88ab59f06dfc | 
| children | ee250e3646fd | 
line wrap: on
 line diff
--- a/arogue5/main.c Wed Sep 04 09:01:44 2013 -0700 +++ b/arogue5/main.c Sat Sep 07 08:08:00 2013 -0400 @@ -227,12 +227,12 @@ /* * 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);
