From: Yesterday's Voyage Date: Wed, 11 Apr 2007 21:37:00 +0000 (+0000) Subject: Fix to console compilation to avoid an infoslave warning X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=d2e78d14727e8ae58dc311ab8a31429c625db7a0;p=cobramush.git Fix to console compilation to avoid an infoslave warning --- diff --git a/src/bsd.c b/src/bsd.c index bf47b96..b3ea2d1 100644 --- a/src/bsd.c +++ b/src/bsd.c @@ -407,6 +407,7 @@ static const char *time_format_1(long int dt); static const char *time_format_2(long int dt); void inactivity_check(void); +#ifndef COMPILE_CONSOLE #ifdef INFO_SLAVE static void make_info_slave(void); static void promote_info_slave(void); @@ -414,6 +415,7 @@ static void query_info_slave(int fd); static void reap_info_slave(void); void kill_info_slave(void); #endif +#endif void reopen_logs(void); void load_reboot_db(void); #ifdef HAS_GETRLIMIT