summaryrefslogtreecommitdiffstats
path: root/l10ntools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-27 15:29:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-28 21:59:24 +0100
commit372f8519168d74cd5c1c1199ec3a07a8ae3f1edf (patch)
treec08015142a67e582bb6440360e70b392f4c23fcb /l10ntools
parentuse the xmlTextWriterPtr typedef consistently (diff)
downloadcore-372f8519168d74cd5c1c1199ec3a07a8ae3f1edf.tar.gz
core-372f8519168d74cd5c1c1199ec3a07a8ae3f1edf.zip
loplugin:unreffun
Change-Id: I983394e10e1a316fe01bd3925913e5e65f944b68 Reviewed-on: https://gerrit.libreoffice.org/68470 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/cfglex.hxx2
-rw-r--r--l10ntools/inc/xrmlex.hxx2
-rw-r--r--l10ntools/source/cfgmerge.cxx2
-rw-r--r--l10ntools/source/xrmmerge.cxx2
4 files changed, 4 insertions, 4 deletions
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;