Mercurial > hg > early-roguelike
comparison 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 |
comparison
equal
deleted
inserted
replaced
106:c191a735f811 | 107:f2951c4e28d9 |
---|---|
82 return NULL; | 82 return NULL; |
83 } | 83 } |
84 | 84 |
85 | 85 |
86 /* | 86 /* |
87 * daemon: | 87 * start_daemon: |
88 * Start a daemon, takes a function. | 88 * Start a daemon, takes a function. |
89 */ | 89 */ |
90 daemon(func, arg, type) | 90 start_daemon(func, arg, type) |
91 reg int arg, type, (*func)(); | 91 reg int arg, type, (*func)(); |
92 { | 92 { |
93 reg struct delayed_action *dev; | 93 reg struct delayed_action *dev; |
94 | 94 |
95 dev = d_slot(); | 95 dev = d_slot(); |