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