include/LibreOfficeKit/LibreOfficeKitInit.h |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit ca625e6c5387dbe1101b3d94f61f80fd5b8275fc
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Fri Nov 2 23:54:38 2018 +0200
Commit:     Tor Lillqvist <[email protected]>
CommitDate: Mon Nov 5 12:59:58 2018 +0100

    No need to mark libreofficekit_hook_2 with default visibility
    
    Also, the declaration is needed only for for iOS
    
    Change-Id: Ib7b54ebed1c66324c79c116bd4d1e08ebaa1eac9
    Reviewed-on: https://gerrit.libreoffice.org/62868
    Reviewed-by: Tor Lillqvist <[email protected]>
    Tested-by: Tor Lillqvist <[email protected]>

diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h 
b/include/LibreOfficeKit/LibreOfficeKitInit.h
index cce3e8f0343c..91c30729c7cc 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -250,8 +250,9 @@ typedef LibreOfficeKit *(LokHookFunction2)( const char 
*install_path, const char
 
 typedef int             (LokHookPreInit)  ( const char *install_path, const 
char *user_profile_url );
 
-extern __attribute__ ((visibility("default")))
-    LibreOfficeKit *libreofficekit_hook_2(const char* install_path, const 
char* user_profile_path);
+#if defined(IOS)
+LibreOfficeKit *libreofficekit_hook_2(const char* install_path, const char* 
user_profile_path);
+#endif
 
 static LibreOfficeKit *lok_init_2( const char *install_path,  const char 
*user_profile_url )
 {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to