summaryrefslogtreecommitdiffstats
path: root/lib/command_lex.l
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-11-27 21:17:57 +0100
committerDavid Lamparter <equinox@diac24.net>2019-12-13 06:22:34 +0100
commit1b3e9a21dd4af572deed0d40dd26c8d041e94eae (patch)
tree11c64fb3a22924562484aac931d153c870627b13 /lib/command_lex.l
parentlib: completely get rid of the MTYPE alias hack (diff)
downloadfrr-1b3e9a21dd4af572deed0d40dd26c8d041e94eae.tar.xz
frr-1b3e9a21dd4af572deed0d40dd26c8d041e94eae.zip
lib: make some variables static
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/command_lex.l')
-rw-r--r--lib/command_lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_lex.l b/lib/command_lex.l
index f361db78e..0556605d6 100644
--- a/lib/command_lex.l
+++ b/lib/command_lex.l
@@ -85,7 +85,7 @@ RANGE \({NUMBER}[ ]?\-[ ]?{NUMBER}\)
. {return yytext[0];}
%%
-YY_BUFFER_STATE buffer;
+static YY_BUFFER_STATE buffer;
void set_lexer_string (yyscan_t *scn, const char *string)
{