Mercurial > hg > early-roguelike
comparison rogue4/main.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 | 88ab59f06dfc |
children | ee250e3646fd |
comparison
equal
deleted
inserted
replaced
106:c191a735f811 | 107:f2951c4e28d9 |
---|---|
204 keypad(stdscr,1); | 204 keypad(stdscr,1); |
205 new_level(); /* Draw current level */ | 205 new_level(); /* Draw current level */ |
206 /* | 206 /* |
207 * Start up daemons and fuses | 207 * Start up daemons and fuses |
208 */ | 208 */ |
209 daemon(doctor, 0, AFTER); | 209 start_daemon(doctor, 0, AFTER); |
210 fuse(swander, 0, WANDERTIME, AFTER); | 210 fuse(swander, 0, WANDERTIME, AFTER); |
211 daemon(stomach, 0, AFTER); | 211 start_daemon(stomach, 0, AFTER); |
212 daemon(runners, 0, AFTER); | 212 start_daemon(runners, 0, AFTER); |
213 playit(); | 213 playit(); |
214 } | 214 } |
215 | 215 |
216 /* | 216 /* |
217 * endit: | 217 * endit: |