diff --git a/src/modules.c b/src/modules.c index 5c703a298..0fd005760 100644 --- a/src/modules.c +++ b/src/modules.c @@ -695,6 +695,7 @@ int module_register(char *name, Function *funcs, int major, int minor) const char *module_load(char *name) { + size_t len; module_entry *p; char *e; Function f; @@ -703,7 +704,6 @@ const char *module_load(char *name) #endif #ifndef STATIC - size_t len; char workbuf[PATH_MAX]; # ifdef MOD_USE_SHL shl_t hand;