diff rogue4/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 88ab59f06dfc
children ee250e3646fd
line wrap: on
line diff
--- a/rogue4/main.c	Wed Sep 04 09:01:44 2013 -0700
+++ b/rogue4/main.c	Sat Sep 07 08:08:00 2013 -0400
@@ -206,10 +206,10 @@
     /*
      * Start up daemons and fuses
      */
-    daemon(doctor, 0, AFTER);
+    start_daemon(doctor, 0, AFTER);
     fuse(swander, 0, WANDERTIME, AFTER);
-    daemon(stomach, 0, AFTER);
-    daemon(runners, 0, AFTER);
+    start_daemon(stomach, 0, AFTER);
+    start_daemon(runners, 0, AFTER);
     playit();
 }