summaryrefslogtreecommitdiff
path: root/src/core/modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/modules.c')
-rw-r--r--src/core/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/modules.c b/src/core/modules.c
index de2778f0..0dac04ae 100644
--- a/src/core/modules.c
+++ b/src/core/modules.c
@@ -215,6 +215,7 @@ MODULE_REC *module_find(const char *name)
return NULL;
}
+#ifdef HAVE_GMODULE
static char *module_get_name(const char *path, int *start, int *end)
{
const char *name;
@@ -243,7 +244,6 @@ static char *module_get_name(const char *path, int *start, int *end)
return module_name;
}
-#ifdef HAVE_GMODULE
static GModule *module_open(const char *name)
{
struct stat statbuf;