arogue7, xrogue: rename daemon() to start_daemon().

This prevents conflict with the BSD/OSX daemon() system function.
This commit is contained in:
John "Elwin" Edwards 2015-05-28 10:21:43 -04:00
parent b369d09125
commit 4e5f4c52d3
14 changed files with 26 additions and 26 deletions

View file

@ -240,7 +240,7 @@ char **envp;
/*
* 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 @@ char **envp;
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) {