From ad2b694585ebb65d375c45dce5aa92a9f382ca26 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 28 Mar 2001 21:32:10 +0000 Subject: [PATCH] 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 --- src/core/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;