From 53715e59cfbda9d3d244793716e787cc63e9f5ab Mon Sep 17 00:00:00 2001
From: Luigi Rizzo <rizzo@icir.org>
Date: Thu, 27 Apr 2006 10:13:39 +0000
Subject: [PATCH] staticize c_prevword()

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 pbx/ael/ael.flex  | 4 +---
 pbx/ael/ael_lex.c | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/pbx/ael/ael.flex b/pbx/ael/ael.flex
index b6af3a2369..a217652e2c 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 ba8f2e0900..56ffed49fe 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;
-- 
GitLab