Fix to console compilation to avoid an infoslave warning
authorYesterday's Voyage <startrekkin@startrekkin.net>
Wed, 11 Apr 2007 21:37:00 +0000 (21:37 +0000)
committerYesterday's Voyage <startrekkin@startrekkin.net>
Wed, 11 Apr 2007 21:37:00 +0000 (21:37 +0000)
src/bsd.c

index bf47b9643016efe4557e7cedafd4004629604caa..b3ea2d1f6645882ccc4eacfc422a90068302f02a 100644 (file)
--- 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