summaryrefslogtreecommitdiff
path: root/ios/source
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2018-01-10 13:16:52 +0100
committerjan Iversen <jani@libreoffice.org>2018-01-10 14:23:02 +0100
commite4f5c5cebbca1e1ceab0b4ab68031f275e46b504 (patch)
treef8bb4c949dc1841bef8616155ce87c17fc1051a3 /ios/source
parentffd994298d62f86a36b00e98fd41c326e0e9bad0 (diff)
iOS, reference to hook_2 wrong
Change-Id: I4f0051bac812969988b701383a9df7db96ce245e
Diffstat (limited to 'ios/source')
-rw-r--r--ios/source/LibreOfficeKit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ios/source/LibreOfficeKit.c b/ios/source/LibreOfficeKit.c
index 4ed3c919bafb..e9344ca89a2c 100644
--- a/ios/source/LibreOfficeKit.c
+++ b/ios/source/LibreOfficeKit.c
@@ -19,8 +19,10 @@
// Force reference to libreofficekit_hook
-extern __attribute__((used)) void *libreofficekit_hook_2(const char *);
-static __attribute__((used)) void *(*foop)(const char *) = libreofficekit_hook_2;
+extern __attribute__((used))
+LibreOfficeKit *libreofficekit_hook_2(const char* install_path, const char* user_profile_path);
+static __attribute__((used))
+LibreOfficeKit *(*foop)(const char *, const char *) = libreofficekit_hook_2;
// pointers to our instance
static LibreOfficeKit* kit;