diff srogue/daemon.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 2128c7dc8a40
children d6b7c3fb37ea
line wrap: on
line diff
--- a/srogue/daemon.c	Wed Sep 04 09:01:44 2013 -0700
+++ b/srogue/daemon.c	Sat Sep 07 08:08:00 2013 -0400
@@ -85,10 +85,10 @@
 }
 
 /*
- * daemon:
+ * start_daemon:
  *	Start a daemon, takes a function.
  */
-daemon(func, arg, type)
+start_daemon(func, arg, type)
 int arg, type, (*func)();
 {
 	d_insert(func, arg, type, DAEMON);