1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-07 02:54:19 -04:00

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
This commit is contained in:
Timo Sirainen 2001-03-28 21:32:10 +00:00 committed by cras
parent feab6175dc
commit ad2b694585

View File

@ -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;