From d2e78d14727e8ae58dc311ab8a31429c625db7a0 Mon Sep 17 00:00:00 2001 From: Yesterday's Voyage Date: Wed, 11 Apr 2007 21:37:00 +0000 Subject: [PATCH] Fix to console compilation to avoid an infoslave warning --- src/bsd.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2