Skip to content
Snippets Groups Projects
Commit df5635d8 authored by Luigi Rizzo's avatar Luigi Rizzo
Browse files

staticize some variables


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent e141352f
No related branches found
No related tags found
No related merge requests found
......@@ -34,9 +34,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
......@@ -53,8 +53,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;
%}
......
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment