aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-27 21:34:27 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-27 21:34:27 +0000
commit246797b309ef964e7bd9ac2082d0ef42944c0e9d (patch)
tree4f1a556ee7a811109d8fb9674e218052955e0083 /apps
parentdccdbdeeb39de2990741e60c9d85013c807f3e93 (diff)
More contributed BSD enhancements
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@919 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_agi.c6
-rwxr-xr-xapps/app_disa.c4
-rwxr-xr-xapps/app_qcall.c2
-rwxr-xr-xapps/app_voicemail.c10
4 files changed, 11 insertions, 11 deletions
diff --git a/apps/app_agi.c b/apps/app_agi.c
index 7c28daa44..aa526d559 100755
--- a/apps/app_agi.c
+++ b/apps/app_agi.c
@@ -914,7 +914,7 @@ static char usage_noop[] =
" Usage: NOOP\n"
" Does nothing.\n";
-agi_command commands[] = {
+static agi_command commands[] = {
{ { "answer", NULL }, handle_answer, "Asserts answer", usage_answer },
{ { "wait", "for", "digit", NULL }, handle_waitfordigit, "Waits for a digit to be pressed", usage_waitfordigit },
{ { "send", "text", NULL }, handle_sendtext, "Sends text to channels supporting it", usage_sendtext },
@@ -1343,10 +1343,10 @@ static char dumpagihtml_help[] =
"Usage: dump agihtml <filename>\n"
" Dumps the agi command list in html format to given filename\n";
-struct ast_cli_entry showagi =
+static struct ast_cli_entry showagi =
{ { "show", "agi", NULL }, handle_showagi, "Show AGI commands or specific help", showagi_help };
-struct ast_cli_entry dumpagihtml =
+static struct ast_cli_entry dumpagihtml =
{ { "dump", "agihtml", NULL }, handle_dumpagihtml, "Dumps a list of agi command in html format", dumpagihtml_help };
int unload_module(void)
diff --git a/apps/app_disa.c b/apps/app_disa.c
index 978336936..1377adc73 100755
--- a/apps/app_disa.c
+++ b/apps/app_disa.c
@@ -83,8 +83,8 @@ LOCAL_USER_DECL;
static float loudness=4096.0;
-int firstdigittimeout = 20000; /* 20 seconds first digit timeout */
-int digittimeout = 10000; /* 10 seconds subsequent digit timeout */
+static int firstdigittimeout = 20000; /* 20 seconds first digit timeout */
+static int digittimeout = 10000; /* 10 seconds subsequent digit timeout */
static void make_tone_block(unsigned char *data, float f1, float f2, int len, int *x)
{
diff --git a/apps/app_qcall.c b/apps/app_qcall.c
index a68239abc..6d89f0d2b 100755
--- a/apps/app_qcall.c
+++ b/apps/app_qcall.c
@@ -73,7 +73,7 @@
#include <sys/file.h>
#include "../astconf.h"
-char qdir[255];
+static char qdir[255];
static char *tdesc = "Call from Queue";
static pthread_t qcall_thread;
static int debug = 0;
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 52a570cb9..b70ce0ffd 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -64,11 +64,11 @@
#define BASELINELEN 72
#define eol "\r\n"
-int iocp;
-int iolen;
-int linelength;
-int ateof;
-unsigned char iobuf[BASEMAXINLINE];
+static int iocp;
+static int iolen;
+static int linelength;
+static int ateof;
+static unsigned char iobuf[BASEMAXINLINE];
static char *tdesc = "Comedian Mail (Voicemail System)";