diff arogue7/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 b786053d2f37
children 1cd604c827a3
line wrap: on
line diff
--- a/arogue7/misc.c	Thu May 28 09:41:29 2015 -0400
+++ b/arogue7/misc.c	Thu May 28 10:21:43 2015 -0400
@@ -116,7 +116,7 @@
 	 * if he becomes a thief then add the trap_look() daemon
 	 */
 	if (newclass == C_THIEF || newclass == C_ASSASIN || newclass == C_MONK)
-	    daemon(trap_look, 0, AFTER);
+	    start_daemon(trap_look, 0, AFTER);
 	char_type = player.t_ctype = newclass;
 	save = pstats.s_hpt;
 	max_stats.s_hpt = pstats.s_hpt = 0;