summaryrefslogtreecommitdiff
path: root/pbx/ael
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-04-27 10:13:39 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-04-27 10:13:39 +0000
commit53715e59cfbda9d3d244793716e787cc63e9f5ab (patch)
tree4997f79cbc6ba75f7ebeb73f6069039ff5eb65cc /pbx/ael
parent073391cc632ff94130e89debc07639bacdd9993c (diff)
staticize c_prevword()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/ael')
-rw-r--r--pbx/ael/ael.flex4
-rw-r--r--pbx/ael/ael_lex.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/pbx/ael/ael.flex b/pbx/ael/ael.flex
index b6af3a236..a217652e2 100644
--- a/pbx/ael/ael.flex
+++ b/pbx/ael/ael.flex
@@ -536,9 +536,7 @@ static int pbcpop(char x)
return 1; /* error */
}
-/* used by the bison code */
-int c_prevword(void);
-int c_prevword(void)
+static int c_prevword(void)
{
char *c = prev_word;
int ret = 0;
diff --git a/pbx/ael/ael_lex.c b/pbx/ael/ael_lex.c
index ba8f2e090..56ffed49f 100644
--- a/pbx/ael/ael_lex.c
+++ b/pbx/ael/ael_lex.c
@@ -2872,9 +2872,7 @@ static int pbcpop(char x)
return 1; /* error */
}
-/* used by the bison code */
-int c_prevword(void);
-int c_prevword(void)
+static int c_prevword(void)
{
char *c = prev_word;
int ret = 0;