summaryrefslogtreecommitdiff
path: root/l10ntools/source/xrmlex.l
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-08 10:17:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-08 10:17:38 +0200
commit52e359d82dbf239e5fd72c5f20d31b206c72d3e7 (patch)
treebbc0debe4ce0be6751cfef3b896aac96172b3963 /l10ntools/source/xrmlex.l
parentb06a6bba31b15287383853b4d9b52575a92b914b (diff)
Clean up function declarations
Change-Id: Ie1360857dc4ed3102c709c1ef5b5929e5d5d5d7b
Diffstat (limited to 'l10ntools/source/xrmlex.l')
-rw-r--r--l10ntools/source/xrmlex.l15
1 files changed, 2 insertions, 13 deletions
diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l
index 3017a7f71d36..f91405f60655 100644
--- a/l10ntools/source/xrmlex.l
+++ b/l10ntools/source/xrmlex.l
@@ -37,6 +37,7 @@
/* table of possible token ids */
#include "tokens.h"
+#include "xrmlex.hxx"
#include <stdlib.h>
#include <stdio.h>
@@ -53,18 +54,6 @@
#endif
#define YY_NO_UNISTD_H
-/* external functions (C++ code, declared as extern "C" */
-extern "C" int WorkOnTokenSet( int, char* );
-extern "C" int Argument( char * );
-extern "C" int InitXrmExport( char * , char * );
-extern "C" int EndXrmExport();
-extern "C" int GetError();
-extern "C" int SetError();
-extern "C" char *GetOutputFile( int argc, char* argv[]);
-extern "C" FILE *GetXrmFile();
-extern "C" int isQuiet();
-extern "C" char* getFilename();
-
/* forwards */
void YYWarning();
@@ -226,7 +215,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
return 1;
}
pFile = GetXrmFile();
- InitXrmExport( pOutput , getFilename() );
+ InitXrmExport( getFilename() );
if ( !pFile )
return 1;