dect
/
asterisk
Archived
13
0
Fork 0

allow the gtk console to build and load

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38532 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2006-07-30 23:11:07 +00:00
parent 3555ba6c41
commit 8c9bc54ab5
1 changed files with 6 additions and 10 deletions

View File

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