Mercurial > hg > early-roguelike
diff xrogue/main.c @ 151:cadff8f047a1
arogue7, xrogue: rename daemon() to start_daemon().
This prevents conflict with the BSD/OSX daemon() system function.
author | John "Elwin" Edwards |
---|---|
date | Thu, 28 May 2015 10:21:43 -0400 |
parents | 301ed6992c2e |
children | f54901b9c39b |
line wrap: on
line diff
--- a/xrogue/main.c Thu May 28 09:41:29 2015 -0400 +++ b/xrogue/main.c Thu May 28 10:21:43 2015 -0400 @@ -240,7 +240,7 @@ /* * Start up daemons and fuses */ - daemon(doctor, &player, AFTER); + start_daemon(doctor, &player, AFTER); fuse(swander, (VOID *)NULL, WANDERTIME, AFTER); /* Give characters their innate abilities */ if (player.t_ctype == C_MAGICIAN || player.t_ctype == C_RANGER) @@ -249,11 +249,11 @@ fuse(chant_recovery, (VOID *)NULL, SPELLTIME, AFTER); if (player.t_ctype == C_CLERIC || player.t_ctype == C_PALADIN) fuse(prayer_recovery, (VOID *)NULL, SPELLTIME, AFTER); - daemon(stomach, (VOID *)NULL, AFTER); + start_daemon(stomach, (VOID *)NULL, AFTER); if (player.t_ctype == C_THIEF || player.t_ctype == C_ASSASSIN || player.t_ctype == C_MONK) - daemon(trap_look, (VOID *)NULL, AFTER); + start_daemon(trap_look, (VOID *)NULL, AFTER); /* Does this character have any special knowledge? */ switch (player.t_ctype) {