allow the gtk console to build and load

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 19 years ago
parent a9f8f09c19
commit dff27908dc

@ -78,7 +78,7 @@ static void update_statusbar(char *msg)
gtk_statusbar_push(GTK_STATUSBAR(statusbar), 1, msg);
}
int unload_module(void)
static int unload_module(void *mod)
{
if (inuse) {
/* Kill off the main thread */
@ -200,7 +200,7 @@ static void remove_module(void)
}
}
}
static void reload_module(void)
static int reload_module(void *mod)
{
int res, x;
char *module;
@ -475,7 +475,7 @@ static int show_console(void)
}
int load_module(void)
static int load_module(void *mod)
{
if (pipe(clipipe)) {
ast_log(LOG_WARNING, "Unable to create CLI pipe\n");
@ -499,18 +499,14 @@ int load_module(void)
return 0;
}
int usecount(void)
{
return inuse;
}
const char *description(void)
static const char *description(void)
{
return dtext;
}
const char *key(void)
static const char *key(void)
{
return ASTERISK_GPL_KEY;
}
STD_MOD(MOD_0, reload_module, NULL, NULL);

Loading…
Cancel
Save