diff srogue/main.c @ 107:f2951c4e28d9

Rename daemon() to start_daemon(). daemon() conflicted with the standard library function, which is included by default on OS X.
author John "Elwin" Edwards
date Sat, 07 Sep 2013 08:08:00 -0400
parents 15f8229f38c1
children ee250e3646fd
line wrap: on
line diff
--- a/srogue/main.c	Wed Sep 04 09:01:44 2013 -0700
+++ b/srogue/main.c	Sat Sep 07 08:08:00 2013 -0400
@@ -243,15 +243,15 @@
 
 	/* Start up daemons and fuses */
 
-	daemon(status, TRUE, BEFORE);
-	daemon(runners, TRUE, AFTER);
+	start_daemon(status, TRUE, BEFORE);
+	start_daemon(runners, TRUE, AFTER);
 	/* 
 	 * These daemons have been moved to AFTER because BEFORE daemons
 	 * get called every command, even invalid ones.  Hopefully this 
 	 * won't break anything.
 	 */
-	daemon(doctor, TRUE, AFTER);
-	daemon(stomach, TRUE, AFTER);
+	start_daemon(doctor, TRUE, AFTER);
+	start_daemon(stomach, TRUE, AFTER);
 	fuse(swander, TRUE, WANDERTIME);
 
 	/* Give the rogue his weaponry */