diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-04 08:53:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-04 10:05:58 +0200 |
commit | c8c6c8319f07b960c30e05d0a730ea8f3f7583cc (patch) | |
tree | a741d2ce20423c533385816413718646d8c4347a /l10ntools/source | |
parent | 705d69a925d5723a5c0b2a62dd41f67f2fe8a217 (diff) |
Clean up unreferenced functions
Change-Id: Id2c90088298d389bd1cd8efad9aa26100965d6a2
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/cfglex.l | 6 | ||||
-rw-r--r-- | l10ntools/source/cfgmerge.cxx | 4 | ||||
-rw-r--r-- | l10ntools/source/export.cxx | 2 | ||||
-rw-r--r-- | l10ntools/source/srclex.l | 9 |
4 files changed, 9 insertions, 12 deletions
diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l index 7313527541e6..f87baf41813d 100644 --- a/l10ntools/source/cfglex.l +++ b/l10ntools/source/cfglex.l @@ -42,6 +42,8 @@ #include "sal/main.h" +#include "cfglex.hxx" + #if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY #pragma GCC diagnostic ignored "-Wunused-function" #pragma GCC diagnostic ignored "-Wunused-label" @@ -56,10 +58,6 @@ int yycolumn = 1; #define YY_USER_ACTION yycolumn += yyleng; -/* external functions (C++ code, declared as extern "C" */ -extern "C" void workOnTokenSet( int, char* ); -extern "C" FILE * init(int, char **); - int bText=0; %} diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx index cc44dd3ff2ac..cfd471be5c1e 100644 --- a/l10ntools/source/cfgmerge.cxx +++ b/l10ntools/source/cfgmerge.cxx @@ -17,9 +17,11 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "common.hxx" #include "sal/config.h" +#include "cfglex.hxx" +#include "common.hxx" + #include <cstdio> #include <cstdlib> #include <cstring> diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index 37f34f958903..2fff37c61af9 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -23,6 +23,8 @@ #include <cstring> #include "helper.hxx" +#include "srclex.hxx" + #include "boost/scoped_ptr.hpp" #include <stdio.h> #include <stdlib.h> diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l index c97dcaa12fc2..b484881d0232 100644 --- a/l10ntools/source/srclex.l +++ b/l10ntools/source/srclex.l @@ -43,6 +43,8 @@ #include "sal/main.h" +#include "srclex.hxx" + #if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY #pragma GCC diagnostic ignored "-Wunused-function" #pragma GCC diagnostic ignored "-Wunused-label" @@ -54,13 +56,6 @@ #endif #define YY_NO_UNISTD_H -/* external functions (C++ code, declared as extern "C" */ -extern "C" int WorkOnTokenSet( int, char* ); -extern "C" FILE * init(int, char **); -extern "C" int SetError(); -extern "C" int GetError(); -extern "C" void Close(); - /* forwards */ void YYWarning(); %} |