Mercurial > hg > early-roguelike
diff rogue4/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 | 9535a08ddc39 |
children | 1b73a8641b37 |
line wrap: on
line diff
--- a/rogue4/daemon.c Wed Sep 04 09:01:44 2013 -0700 +++ b/rogue4/daemon.c Sat Sep 07 08:08:00 2013 -0400 @@ -61,10 +61,10 @@ } /* - * daemon: + * start_daemon: * Start a daemon, takes a function. */ -daemon(func, arg, type) +start_daemon(func, arg, type) int (*func)(), arg, type; { register struct delayed_action *dev;