summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-11 13:40:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-11 13:42:41 +0100
commit698bdcdb0c87f5e0453c522b64d20fba851ba47a (patch)
treeb06d3677c3d735e6304cbf12d09e4c7d3e7ea432 /hwpfilter
parentf2cb396c8d999dc1a519511e504eca643528c3c4 (diff)
loplugin:externvar (clang-cl)
Change-Id: I29c40113f9248f9041dacc398416f39889f5ddf8
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/fontmap.cxx2
-rw-r--r--hwpfilter/source/grammar.h2
-rw-r--r--hwpfilter/source/lexer.cxx3
3 files changed, 1 insertions, 6 deletions
diff --git a/hwpfilter/source/fontmap.cxx b/hwpfilter/source/fontmap.cxx
index 6ef93e7bed10..c25ec84eefab 100644
--- a/hwpfilter/source/fontmap.cxx
+++ b/hwpfilter/source/fontmap.cxx
@@ -118,7 +118,7 @@ const struct FontEntry FontMapTab[] =
};
#if defined(_WIN32)
-const char* RepFontTab[] =
+const char* const RepFontTab[] =
{
"\xb9\xd9\xc5\xc1", /* 0 */
"\xb5\xb8\xbf\xf2", /* 1 */
diff --git a/hwpfilter/source/grammar.h b/hwpfilter/source/grammar.h
index 75fdb8f28aba..0a87a6aa1832 100644
--- a/hwpfilter/source/grammar.h
+++ b/hwpfilter/source/grammar.h
@@ -52,8 +52,6 @@ typedef union {
#define RIGHT_DELIM 284
#define DIGIT 285
-#ifndef _WIN32
extern YYSTYPE yylval;
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/lexer.cxx b/hwpfilter/source/lexer.cxx
index 915b7b094107..52aa5001bfbf 100644
--- a/hwpfilter/source/lexer.cxx
+++ b/hwpfilter/source/lexer.cxx
@@ -946,9 +946,6 @@ extern "C" {
int yywrap();
}
-#ifdef _WIN32
-extern YYSTYPE yylval;
-#endif
#ifdef TOKEN_DEBUG
#define token_debug printf
#else