Mercurial > hg > early-roguelike
comparison xrogue/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 | cfa9d1609b78 |
| children | f54901b9c39b |
comparison
equal
deleted
inserted
replaced
| 150:a307ff9cd95e | 151:cadff8f047a1 |
|---|---|
| 85 return dev; | 85 return dev; |
| 86 return NULL; | 86 return NULL; |
| 87 } | 87 } |
| 88 | 88 |
| 89 /* | 89 /* |
| 90 * daemon: | 90 * start_daemon: |
| 91 * Start a daemon, takes a function. | 91 * Start a daemon, takes a function. |
| 92 */ | 92 */ |
| 93 | 93 |
| 94 daemon(dfunc, arg, type) | 94 start_daemon(dfunc, arg, type) |
| 95 reg VOID *arg; | 95 reg VOID *arg; |
| 96 reg int type, (*dfunc)(); | 96 reg int type, (*dfunc)(); |
| 97 { | 97 { |
| 98 reg struct delayed_action *dev; | 98 reg struct delayed_action *dev; |
| 99 | 99 |
