[Libreoffice-commits] .: sal/osl
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Sep 17 00:32:31 PDT 2012
sal/osl/unx/salinit.cxx | 5 +++--
sal/osl/w32/salinit.cxx | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
New commits:
commit 24aec4dad64f8408552ba1c1e070b04a7297713f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Sep 17 09:31:26 2012 +0200
Include header with prototypes of defined functions
Change-Id: Ia28c36b1627ef944adecd5c8a55c150bd0f9aa02
diff --git a/sal/osl/unx/salinit.cxx b/sal/osl/unx/salinit.cxx
index 22da0a5..ab6a7ee 100644
--- a/sal/osl/unx/salinit.cxx
+++ b/sal/osl/unx/salinit.cxx
@@ -35,11 +35,12 @@
#endif
#include "osl/process.h"
+#include "sal/main.h"
#include "sal/types.h"
extern "C" {
-SAL_DLLPUBLIC_EXPORT void SAL_CALL sal_detail_initialize(int argc, char ** argv) {
+void sal_detail_initialize(int argc, char ** argv) {
#if defined MACOSX
// On Mac OS X, soffice can restart itself via exec (see restartOnMac in
// desktop/source/app/app.cxx), which leaves all file descriptors open,
@@ -69,7 +70,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL sal_detail_initialize(int argc, char ** argv)
osl_setCommandArgs(argc, argv);
}
-SAL_DLLPUBLIC_EXPORT void SAL_CALL sal_detail_deinitialize() {}
+void sal_detail_deinitialize() {}
}
diff --git a/sal/osl/w32/salinit.cxx b/sal/osl/w32/salinit.cxx
index 520be58..49394ce 100644
--- a/sal/osl/w32/salinit.cxx
+++ b/sal/osl/w32/salinit.cxx
@@ -33,6 +33,7 @@
#include "system.h"
#include <osl/process.h>
+#include <sal/main.h>
#include <sal/types.h>
#ifdef __cplusplus
@@ -58,7 +59,7 @@ extern "C" void invalidParameterHandler(
// Prototypes for initialization and deinitialization of SAL library
-SAL_DLLPUBLIC_EXPORT void SAL_CALL sal_detail_initialize(int argc, char ** argv)
+void sal_detail_initialize(int argc, char ** argv)
{
// SetProcessDEPPolicy(PROCESS_DEP_ENABLE);
// SetDllDirectoryW(L"");
@@ -118,7 +119,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL sal_detail_initialize(int argc, char ** argv)
osl_setCommandArgs(argc, argv);
}
-SAL_DLLPUBLIC_EXPORT void SAL_CALL sal_detail_deinitialize()
+void sal_detail_deinitialize()
{
if ( SOCKET_ERROR == WSACleanup() )
{
More information about the Libreoffice-commits
mailing list