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

@ -179,7 +179,7 @@ wear()
msg("wearing %s",inv_name(obj,TRUE));
cur_misc[WEAR_GAUNTLET] = obj;
if (obj->o_which == MM_FUMBLE)
daemon(fumble, 0, AFTER);
start_daemon(fumble, 0, AFTER);
}
/*
* the jewel of attacks does an aggavate monster
@ -215,7 +215,7 @@ wear()
msg("wearing %s",inv_name(obj,TRUE));
cur_misc[WEAR_NECKLACE] = obj;
msg("The necklace is beginning to strangle you!");
daemon(strangle, 0, AFTER);
start_daemon(strangle, 0, AFTER);
}
otherwise:
msg("what a strange item you have!");