summaryrefslogtreecommitdiffstats
path: root/l10ntools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-22 00:59:45 +0300
committerTor Lillqvist <tml@iki.fi>2012-04-22 01:34:35 +0300
commit1ac9f91198889cc5cee40ba9ef2b0255183ee195 (patch)
tree7c41f35860b9e4846c94733444b7dadaa24f52b2 /l10ntools
parentDon't use -Wl,-syslibroot when building against more current SDKs (diff)
downloadcore-1ac9f91198889cc5cee40ba9ef2b0255183ee195.tar.gz
core-1ac9f91198889cc5cee40ba9ef2b0255183ee195.zip
WaE: unused functions
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/cfg_yy_wrapper.c3
-rw-r--r--l10ntools/source/src_yy_wrapper.c3
-rw-r--r--l10ntools/source/xrm_yy_wrapper.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/l10ntools/source/cfg_yy_wrapper.c b/l10ntools/source/cfg_yy_wrapper.c
index ecfb35b30df5..b22d2a77cd87 100644
--- a/l10ntools/source/cfg_yy_wrapper.c
+++ b/l10ntools/source/cfg_yy_wrapper.c
@@ -2,4 +2,7 @@
// Helper to suppress warnings in lex generated c code, see #i57362#
#include "cfg_yy.c"
+void (*avoid_unused_yyunput_in_cfg_yy_c)() = yyunput;
+int (*avoid_unused_yy_flex_strlen_in_cfg_yy_c)() = yy_flex_strlen;
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/l10ntools/source/src_yy_wrapper.c b/l10ntools/source/src_yy_wrapper.c
index 974068de2d88..da9c17fdc464 100644
--- a/l10ntools/source/src_yy_wrapper.c
+++ b/l10ntools/source/src_yy_wrapper.c
@@ -2,4 +2,7 @@
// Helper to suppress warnings in lex generated c code, see #i57362#
#include "src_yy.c"
+void (*avoid_unused_yyunput_in_src_yy_c)() = yyunput;
+int (*avoid_unused_yy_flex_strlen_in_src_yy_c)() = yy_flex_strlen;
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/l10ntools/source/xrm_yy_wrapper.c b/l10ntools/source/xrm_yy_wrapper.c
index 2724ad0797ba..191d16f30146 100644
--- a/l10ntools/source/xrm_yy_wrapper.c
+++ b/l10ntools/source/xrm_yy_wrapper.c
@@ -2,4 +2,7 @@
// Helper to suppress warnings in lex generated c code, see #i57362#
#include "xrm_yy.c"
+void (*avoid_unused_yyunput_in_xrm_yy_c)() = yyunput;
+int (*avoid_unused_yy_flex_strlen_in_xrm_yy_c)() = yy_flex_strlen;
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */