projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3037b48
)
Only define static reload_files() function if it will be used
author
Ari Johnson
<ari@theari.com>
Mon, 25 Apr 2011 03:33:22 +0000
(22:33 -0500)
committer
Ari Johnson
<ari@theari.com>
Mon, 25 Apr 2011 03:33:22 +0000
(22:33 -0500)
src/bsd.c
patch
|
blob
|
history
diff --git
a/src/bsd.c
b/src/bsd.c
index 197261f3a18f999f6e694c86e6e65f345b8d33c3..88c1e6bf1d0966bf5007ecb8ef927d384017e3da 100644
(file)
--- 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 */