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

@ -702,7 +702,7 @@ int which;
* if he becomes a thief then add the trap_look() daemon
*/
if (obj->o_ac == C_THIEF)
daemon(trap_look, 0, AFTER);
start_daemon(trap_look, 0, AFTER);
char_type = player.t_ctype = obj->o_ac;
save = pstats.s_hpt;
max_stats.s_hpt = pstats.s_hpt = 0;