aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authormatteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-16 22:37:31 +0000
committermatteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-16 22:37:31 +0000
commit342cf00fb74d7832598ad2431b3338512273959e (patch)
tree42e44ab95928950f65a80b2dd298dc79f9b82a8e /pbx
parent40b9926da3752f8e6f5d1a23d4dd8ae8655df2b1 (diff)
dom mar 16 23:37:23 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@647 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rwxr-xr-xpbx/pbx_gtkconsole.c10
-rwxr-xr-xpbx/pbx_wilcalu.c1
2 files changed, 5 insertions, 6 deletions
diff --git a/pbx/pbx_gtkconsole.c b/pbx/pbx_gtkconsole.c
index 727fe38f3..ebb71ff71 100755
--- a/pbx/pbx_gtkconsole.c
+++ b/pbx/pbx_gtkconsole.c
@@ -170,7 +170,7 @@ static void cliinput(void *data, int source, GdkInputCondition ic)
}
-static void remove_module()
+static void remove_module(void)
{
int res;
char *module;
@@ -189,7 +189,7 @@ static void remove_module()
}
}
}
-static void reload_module()
+static void reload_module(void)
{
int res, x;
char *module;
@@ -247,7 +247,7 @@ static void file_ok_sel(GtkWidget *w, GtkFileSelection *fs)
gtk_widget_destroy(GTK_WIDGET(fs));
}
-static void add_module()
+static void add_module(void)
{
char tmp[AST_CONFIG_MAX_PATH];
GtkWidget *filew;
@@ -330,7 +330,7 @@ static void *consolethread(void *data)
return NULL;
}
-static int cli_activate()
+static int cli_activate(void)
{
char buf[256];
strncpy(buf, gtk_entry_get_text(GTK_ENTRY(cli)), sizeof(buf));
@@ -341,7 +341,7 @@ static int cli_activate()
return TRUE;
}
-static int show_console()
+static int show_console(void)
{
GtkWidget *hbox;
GtkWidget *wbox;
diff --git a/pbx/pbx_wilcalu.c b/pbx/pbx_wilcalu.c
index 56270733b..134ce6bb6 100755
--- a/pbx/pbx_wilcalu.c
+++ b/pbx/pbx_wilcalu.c
@@ -41,7 +41,6 @@ static pthread_t autodialer_thread;
static char buf[257];
static char lastbuf[257];//contains last partial buffer
static char sendbuf[257];
-extern int errno;
STANDARD_LOCAL_USER;
LOCAL_USER_DECL;