summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;