summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit/LibreOfficeKitInit.h
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-27 09:31:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-28 08:44:50 +0100
commitfa906e531bd1b6d5e3b9ecef7016f6d67c987fa7 (patch)
tree33d3ad66c7576c4405071cf589427b5803b30a12 /include/LibreOfficeKit/LibreOfficeKitInit.h
parent2fe2ca2677d8613140e99da78a6a24a531943260 (diff)
-Werror,-Wunused-function
Change-Id: Icb5476f117ec44f5a4dc3026595305293b99fdd8
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKitInit.h')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitInit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h
index e54bdd1b7deb..a5b503568e48 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -253,7 +253,7 @@ static LibreOfficeKit *lok_init_2( const char *install_path, const char *user_p
}
static
-#ifdef __GNUC__
+#if defined __GNUC__ || defined __clang__
__attribute__((used))
#endif
LibreOfficeKit *lok_init( const char *install_path )