summaryrefslogtreecommitdiff
path: root/rsc/source
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source')
-rw-r--r--rsc/source/prj/gui.hxx3
-rw-r--r--rsc/source/prj/start.cxx6
2 files changed, 3 insertions, 6 deletions
diff --git a/rsc/source/prj/gui.hxx b/rsc/source/prj/gui.hxx
index 08a11e637834..7deab5b3b88e 100644
--- a/rsc/source/prj/gui.hxx
+++ b/rsc/source/prj/gui.hxx
@@ -24,6 +24,9 @@
int rsc2_main(int, char**);
+// Entry point declaration for modules rscpp and rsc2
+extern "C" int rscpp_main(int, char**);
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx
index 7c926f04d7a5..d42f0d8a58d1 100644
--- a/rsc/source/prj/start.cxx
+++ b/rsc/source/prj/start.cxx
@@ -41,12 +41,6 @@
#include <rtl/strbuf.hxx>
-// Entry point declaration for modules rscpp and rsc2
-extern "C"
-{
- int rscpp_main(int, char**);
-}
-
static bool CallPrePro( const OString& rInput,
const OString& rOutput, RscPtrPtr * pCmdLine,
bool bResponse )