diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-26 23:08:47 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-26 23:08:47 +0000 |
commit | cbb21c8e36c46b77c5c697a346eebc0a4a98c395 (patch) | |
tree | 765d78334cacace1ed9a73219afdd482fbedc9ba /pbx/ael/ael_lex.c | |
parent | f2d3571c413c7fceeab2af15bcd6724c01872a05 (diff) |
staticize some variables
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22678 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/ael/ael_lex.c')
-rw-r--r-- | pbx/ael/ael_lex.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pbx/ael/ael_lex.c b/pbx/ael/ael_lex.c index 49087ddea..3e6ced136 100644 --- a/pbx/ael/ael_lex.c +++ b/pbx/ael/ael_lex.c @@ -669,9 +669,9 @@ static int pbcpos = 0; static int parencount = 0; static int commaout = 0; -int my_lineno = 1; -int my_col = 0; -char *my_file = 0; +static int my_lineno = 1; +static int my_col = 0; +static char *my_file = 0; char *prev_word; #define MAX_INCLUDE_DEPTH 50 @@ -688,8 +688,8 @@ struct stackelement { int colno; YY_BUFFER_STATE bufstate; }; -struct stackelement include_stack[MAX_INCLUDE_DEPTH]; -int include_stack_index = 0; +static struct stackelement include_stack[MAX_INCLUDE_DEPTH]; +static int include_stack_index = 0; /* %option yylineno I've tried hard, but haven't been able to use this */ |