[Libreoffice-commits] core.git: include/LibreOfficeKit
Tor Lillqvist
tml at collabora.com
Wed Apr 8 14:52:09 PDT 2015
include/LibreOfficeKit/LibreOfficeKitInit.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit c68051372c88c20d24f387007b6be913bdee8370
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Apr 9 00:51:29 2015 +0300
WaE: ‘LibreOfficeKit* lok_init(const char*)’ defined but not used
Change-Id: I1b5594173b912c8ac54bb54718ce06bee47e2ed9
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h
index c0d3d5d..4b06e8d 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -203,7 +203,11 @@ static LibreOfficeKit *lok_init_2( const char *install_path, const char *user_p
return pSym2( install_path, user_profile_path );
}
-static LibreOfficeKit *lok_init( const char *install_path )
+static
+#ifdef __GNUC__
+__attribute__((used))
+#endif
+LibreOfficeKit *lok_init( const char *install_path )
{
return lok_init_2( install_path, NULL );
}
More information about the Libreoffice-commits
mailing list