From 889f196f0769cf5819e162eeb5a1063042896f83 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Sun, 24 Apr 2011 22:33:22 -0500 Subject: [PATCH] Only define static reload_files() function if it will be used --- src/bsd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bsd.c b/src/bsd.c index 197261f..88c1e6b 100644 --- a/src/bsd.c +++ b/src/bsd.c @@ -5534,6 +5534,7 @@ do_reboot(dbref player, int flag) extern HASHTAB help_files; +#if defined(HAVE_INOTIFY) || defined(HAVE_LIBFAM) static void reload_files(void) { @@ -5542,6 +5543,7 @@ reload_files(void) fcache_load(NOTHING); help_reindex(NOTHING); } +#endif #ifdef HAVE_INOTIFY /* Linux 2.6 and greater inotify() file monitoring interface */ -- 2.30.2