[asterisk-commits] russell: trunk r38532 -
/trunk/pbx/pbx_gtkconsole.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Jul 30 16:11:08 MST 2006
Author: russell
Date: Sun Jul 30 18:11:07 2006
New Revision: 38532
URL: http://svn.digium.com/view/asterisk?rev=38532&view=rev
Log:
allow the gtk console to build and load
Modified:
trunk/pbx/pbx_gtkconsole.c
Modified: trunk/pbx/pbx_gtkconsole.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx/pbx_gtkconsole.c?rev=38532&r1=38531&r2=38532&view=diff
==============================================================================
--- trunk/pbx/pbx_gtkconsole.c (original)
+++ trunk/pbx/pbx_gtkconsole.c Sun Jul 30 18:11:07 2006
@@ -78,7 +78,7 @@
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 reload_module(void)
+static int reload_module(void *mod)
{
int res, x;
char *module;
@@ -475,7 +475,7 @@
}
-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 @@
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);
More information about the asterisk-commits
mailing list