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