diff options
author | Matteo Brancaleoni <mbrancaleoni@espia.it> | 2003-03-16 22:37:31 +0000 |
---|---|---|
committer | Matteo Brancaleoni <mbrancaleoni@espia.it> | 2003-03-16 22:37:31 +0000 |
commit | 61e446f04b2bdcc41f6420e3cf9ed466ed80c3ed (patch) | |
tree | 42e44ab95928950f65a80b2dd298dc79f9b82a8e /pbx | |
parent | 7640e83360c2dfc792091caeaea05cc9fce0635c (diff) |
dom mar 16 23:37:23 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx')
-rwxr-xr-x | pbx/pbx_gtkconsole.c | 10 | ||||
-rwxr-xr-x | pbx/pbx_wilcalu.c | 1 |
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; |