diff xrogue/rings.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/rings.c	Thu May 28 09:41:29 2015 -0400
+++ b/xrogue/rings.c	Thu May 28 10:21:43 2015 -0400
@@ -100,9 +100,9 @@
             }
     }
         when R_SEARCH:
-            daemon(ring_search, (VOID *)NULL, AFTER);
+            start_daemon(ring_search, (VOID *)NULL, AFTER);
         when R_TELEPORT:
-            daemon(ring_teleport, (VOID *)NULL, AFTER);
+            start_daemon(ring_teleport, (VOID *)NULL, AFTER);
     }
     status(FALSE);
     if (r_know[obj->o_which] && r_guess[obj->o_which]) {