From 372f8519168d74cd5c1c1199ec3a07a8ae3f1edf Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 27 Feb 2019 15:29:28 +0100 Subject: loplugin:unreffun Change-Id: I983394e10e1a316fe01bd3925913e5e65f944b68 Reviewed-on: https://gerrit.libreoffice.org/68470 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- l10ntools/inc/cfglex.hxx | 2 ++ l10ntools/inc/xrmlex.hxx | 2 ++ l10ntools/source/cfgmerge.cxx | 2 -- l10ntools/source/xrmmerge.cxx | 2 -- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'l10ntools') diff --git a/l10ntools/inc/cfglex.hxx b/l10ntools/inc/cfglex.hxx index f55477d2a59d..bc474a09bba7 100644 --- a/l10ntools/inc/cfglex.hxx +++ b/l10ntools/inc/cfglex.hxx @@ -27,6 +27,8 @@ extern "C" void workOnTokenSet( int, char* ); extern "C" FILE * init(int, char **); +void yyerror(char const *); + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/l10ntools/inc/xrmlex.hxx b/l10ntools/inc/xrmlex.hxx index 7e283118d218..483b6dbaaf01 100644 --- a/l10ntools/inc/xrmlex.hxx +++ b/l10ntools/inc/xrmlex.hxx @@ -33,6 +33,8 @@ extern "C" bool GetOutputFile( int argc, char* argv[]); extern "C" FILE *GetXrmFile(); extern "C" const char* getFilename(); +void yyerror( const char * ); + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx index dd0ddf2a9529..ebe8487aa599 100644 --- a/l10ntools/source/cfgmerge.cxx +++ b/l10ntools/source/cfgmerge.cxx @@ -34,8 +34,6 @@ #include #include -void yyerror(char const *); - namespace { namespace global { diff --git a/l10ntools/source/xrmmerge.cxx b/l10ntools/source/xrmmerge.cxx index ceafbe2129f1..4670dc7c3ab2 100644 --- a/l10ntools/source/xrmmerge.cxx +++ b/l10ntools/source/xrmmerge.cxx @@ -37,8 +37,6 @@ using namespace std; -void yyerror( const char * ); - // set of global variables static bool bMergeMode; static bool bDisplayName; -- cgit