summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-03-28 21:32:10 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-03-28 21:32:10 +0000
commitad2b694585ebb65d375c45dce5aa92a9f382ca26 (patch)
tree193692f947565d202e26c3c2b047a97660c6f55f /src/core
parentfeab6175dc5e11c52b667cff4856131f61029f36 (diff)
downloadirssi-ad2b694585ebb65d375c45dce5aa92a9f382ca26.zip
module_get_name() should be inside #ifdef HAVE_GMODULE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1429 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-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;