summaryrefslogtreecommitdiff
path: root/l10ntools/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-27 10:23:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-28 08:24:32 +0100
commit846a91faad76e274ea059ecc1e480d5ff7bf44dd (patch)
tree49ed5d38de83ce2d482197b74326469ba975c0f5 /l10ntools/source
parente85e38662ab84141c43e6c9b52d4a5f50bcf8ec1 (diff)
loplugin:externvar
Change-Id: I7f09837e76a8368fd60aed1bb3a16fd0434e11ec Reviewed-on: https://gerrit.libreoffice.org/68466 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'l10ntools/source')
-rw-r--r--l10ntools/source/cfglex.l4
-rw-r--r--l10ntools/source/xrmlex.l2
2 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l
index f8afa3f82607..50f22421a027 100644
--- a/l10ntools/source/cfglex.l
+++ b/l10ntools/source/cfglex.l
@@ -48,10 +48,10 @@
#define YY_NO_UNISTD_H
-int yycolumn = 1;
+static int yycolumn = 1;
#define YY_USER_ACTION yycolumn += yyleng;
-int bText=0;
+static int bText=0;
%}
%option yylineno
diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l
index c5ab75a14a5a..8ecd4c0cec78 100644
--- a/l10ntools/source/xrmlex.l
+++ b/l10ntools/source/xrmlex.l
@@ -50,7 +50,7 @@
/* forwards */
void YYWarning();
-int bText=0;
+static int bText=0;
%}
%option yylineno