From 61e446f04b2bdcc41f6420e3cf9ed466ed80c3ed Mon Sep 17 00:00:00 2001 From: Matteo Brancaleoni Date: Sun, 16 Mar 2003 22:37:31 +0000 Subject: dom mar 16 23:37:23 CET 2003 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@647 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx/pbx_gtkconsole.c | 10 +++++----- pbx/pbx_wilcalu.c | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'pbx') 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; -- cgit v1.2.3