Mercurial > hg > early-roguelike
diff xrogue/misc.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 | ce0cf824c192 |
children | f54901b9c39b |
line wrap: on
line diff
--- a/xrogue/misc.c Thu May 28 09:41:29 2015 -0400 +++ b/xrogue/misc.c Thu May 28 10:21:43 2015 -0400 @@ -132,7 +132,7 @@ */ if (*newclass == C_THIEF || *newclass == C_ASSASSIN || *newclass == C_MONK) - daemon(trap_look, (VOID *)NULL, AFTER); + start_daemon(trap_look, (VOID *)NULL, AFTER); /* adjust stats */ char_type = player.t_ctype = *newclass;