diff options
author | David Tardon <dtardon@redhat.com> | 2012-09-16 08:55:05 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-09-16 13:03:16 +0200 |
commit | eb5b28c3448af4764592baf432cbeba9d91c3c4a (patch) | |
tree | 4a568e6373c0040561437986e3fe0c641b11d209 /sal/osl/unx | |
parent | 21fbe158f17c82c882ef91d3387f8adf15b6eb7c (diff) |
export sal init and deinit functions
Linking of cppunittester (and any other executable that uses
SAL_IMPLEMENT_MAIN or SAL_IMPLEMENT_MAIN_WITH_ARGS) fails otherwise.
Change-Id: I778941ab2069819789f96ab04f364ea61cf4a3cb
Diffstat (limited to 'sal/osl/unx')
-rw-r--r-- | sal/osl/unx/salinit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/salinit.cxx b/sal/osl/unx/salinit.cxx index 0ce8d86717a7..22da0a511186 100644 --- a/sal/osl/unx/salinit.cxx +++ b/sal/osl/unx/salinit.cxx @@ -39,7 +39,7 @@ extern "C" { -void sal_detail_initialize(int argc, char ** argv) { +SAL_DLLPUBLIC_EXPORT void SAL_CALL 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 +69,7 @@ void sal_detail_initialize(int argc, char ** argv) { osl_setCommandArgs(argc, argv); } -void sal_detail_deinitialize() {} +SAL_DLLPUBLIC_EXPORT void SAL_CALL sal_detail_deinitialize() {} } |