Mercurial > hg > early-roguelike
comparison 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 |
comparison
equal
deleted
inserted
replaced
150:a307ff9cd95e | 151:cadff8f047a1 |
---|---|
90 return NULL; | 90 return NULL; |
91 } | 91 } |
92 | 92 |
93 | 93 |
94 /* | 94 /* |
95 * daemon: | 95 * start_daemon: |
96 * Start a daemon, takes a function. | 96 * Start a daemon, takes a function. |
97 */ | 97 */ |
98 daemon(func, arg, type) | 98 start_daemon(func, arg, type) |
99 reg int arg, type, (*func)(); | 99 reg int arg, type, (*func)(); |
100 { | 100 { |
101 reg struct delayed_action *dev; | 101 reg struct delayed_action *dev; |
102 | 102 |
103 dev = d_slot(); | 103 dev = d_slot(); |