Mercurial > hg > early-roguelike
diff arogue7/daemon.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 | adfa37e67084 |
children | f9ef86cf22b2 |
line wrap: on
line diff
--- a/arogue7/daemon.c Thu May 28 09:41:29 2015 -0400 +++ b/arogue7/daemon.c Thu May 28 10:21:43 2015 -0400 @@ -92,10 +92,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;