comparison srogue/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 15f8229f38c1
children ee250e3646fd
comparison
equal deleted inserted replaced
106:c191a735f811 107:f2951c4e28d9
241 241
242 new_level(NORMLEV); 242 new_level(NORMLEV);
243 243
244 /* Start up daemons and fuses */ 244 /* Start up daemons and fuses */
245 245
246 daemon(status, TRUE, BEFORE); 246 start_daemon(status, TRUE, BEFORE);
247 daemon(runners, TRUE, AFTER); 247 start_daemon(runners, TRUE, AFTER);
248 /* 248 /*
249 * These daemons have been moved to AFTER because BEFORE daemons 249 * These daemons have been moved to AFTER because BEFORE daemons
250 * get called every command, even invalid ones. Hopefully this 250 * get called every command, even invalid ones. Hopefully this
251 * won't break anything. 251 * won't break anything.
252 */ 252 */
253 daemon(doctor, TRUE, AFTER); 253 start_daemon(doctor, TRUE, AFTER);
254 daemon(stomach, TRUE, AFTER); 254 start_daemon(stomach, TRUE, AFTER);
255 fuse(swander, TRUE, WANDERTIME); 255 fuse(swander, TRUE, WANDERTIME);
256 256
257 /* Give the rogue his weaponry */ 257 /* Give the rogue his weaponry */
258 258
259 do { 259 do {