diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-04-22 00:59:45 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-04-22 01:34:35 +0300 |
commit | 1ac9f91198889cc5cee40ba9ef2b0255183ee195 (patch) | |
tree | 7c41f35860b9e4846c94733444b7dadaa24f52b2 | |
parent | 1bf04b934a8f51ac50be4cb9b6eacbb092871383 (diff) |
WaE: unused functions
-rw-r--r-- | l10ntools/source/cfg_yy_wrapper.c | 3 | ||||
-rw-r--r-- | l10ntools/source/src_yy_wrapper.c | 3 | ||||
-rw-r--r-- | l10ntools/source/xrm_yy_wrapper.c | 3 |
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: */ |