summaryrefslogtreecommitdiff
path: root/l10ntools/source/srclex.l
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-04 08:53:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-04 10:05:58 +0200
commitc8c6c8319f07b960c30e05d0a730ea8f3f7583cc (patch)
treea741d2ce20423c533385816413718646d8c4347a /l10ntools/source/srclex.l
parent705d69a925d5723a5c0b2a62dd41f67f2fe8a217 (diff)
Clean up unreferenced functions
Change-Id: Id2c90088298d389bd1cd8efad9aa26100965d6a2
Diffstat (limited to 'l10ntools/source/srclex.l')
-rw-r--r--l10ntools/source/srclex.l9
1 files changed, 2 insertions, 7 deletions
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();
%}