[Libreoffice-commits] core.git: rsc/source

Stephan Bergmann sbergman at redhat.com
Tue Apr 8 01:11:35 PDT 2014


 rsc/source/prj/gui.cxx   |    2 ++
 rsc/source/prj/gui.hxx   |   29 +++++++++++++++++++++++++++++
 rsc/source/prj/start.cxx |    3 ++-
 3 files changed, 33 insertions(+), 1 deletion(-)

New commits:
commit b06a6bba31b15287383853b4d9b52575a92b914b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Apr 8 10:10:43 2014 +0200

    Clean up function declaration
    
    Change-Id: I3c38149f9c99b45170f44f48725087cbe5dba40e

diff --git a/rsc/source/prj/gui.cxx b/rsc/source/prj/gui.cxx
index a2d321e..f0801a8 100644
--- a/rsc/source/prj/gui.cxx
+++ b/rsc/source/prj/gui.cxx
@@ -20,6 +20,8 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+
+#include <gui.hxx>
 #include <rscrsc.hxx>
 #include <rscdb.hxx>
 
diff --git a/rsc/source/prj/gui.hxx b/rsc/source/prj/gui.hxx
new file mode 100644
index 0000000..08a11e6
--- /dev/null
+++ b/rsc/source/prj/gui.hxx
@@ -0,0 +1,29 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ *   Licensed to the Apache Software Foundation (ASF) under one or more
+ *   contributor license agreements. See the NOTICE file distributed
+ *   with this work for additional information regarding copyright
+ *   ownership. The ASF licenses this file to you under the Apache
+ *   License, Version 2.0 (the "License"); you may not use this file
+ *   except in compliance with the License. You may obtain a copy of
+ *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef INCLUDED_RSC_SOURCE_PRJ_GUI_HXX
+#define INCLUDED_RSC_SOURCE_PRJ_GUI_HXX
+
+#include <sal/config.h>
+
+int rsc2_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 3ad077f..0613982 100644
--- a/rsc/source/prj/start.cxx
+++ b/rsc/source/prj/start.cxx
@@ -33,6 +33,8 @@
 #include <dos.h>
 
 #endif // UNX
+
+#include <gui.hxx>
 #include <rsctools.hxx>
 #include <rscerror.h>
 #include <sal/main.h>
@@ -44,7 +46,6 @@ extern "C"
 {
     int rscpp_main(int, char**);
 }
-int rsc2_main(int, char**);
 
 static bool CallPrePro( const OString& rInput,
                         const OString& rOutput, RscPtrPtr * pCmdLine,


More information about the Libreoffice-commits mailing list