From: Ari Johnson Date: Mon, 25 Apr 2011 03:33:22 +0000 (-0500) Subject: Only define static reload_files() function if it will be used X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=889f196f0769cf5819e162eeb5a1063042896f83;p=cobramush.git Only define static reload_files() function if it will be used --- 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 */