[Libreoffice-commits] core.git: l10ntools/inc l10ntools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Feb 28 20:59:51 UTC 2019


 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(-)

New commits:
commit 372f8519168d74cd5c1c1199ec3a07a8ae3f1edf
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Feb 27 15:29:28 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Feb 28 21:59:24 2019 +0100

    loplugin:unreffun
    
    Change-Id: I983394e10e1a316fe01bd3925913e5e65f944b68
    Reviewed-on: https://gerrit.libreoffice.org/68470
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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 <cfgmerge.hxx>
 #include <tokens.h>
 
-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;


More information about the Libreoffice-commits mailing list