[Libreoffice-commits] core.git: include/LibreOfficeKit
Tor Lillqvist
tml at collabora.com
Wed Aug 17 15:26:35 UTC 2016
include/LibreOfficeKit/LibreOfficeKitInit.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit bb10522fd92948b442cd5742677fcae65b8f8027
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Aug 17 18:25:46 2016 +0300
Revert "These 'inline' keywords are fairly pointless"
Nah, they are a good idea in most cases.
This reverts commit 1c8e4f74c63312fca5898452fae4ba32268fce65.
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h
index aedc606..bbef7d5 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -51,22 +51,22 @@ extern "C"
);
}
- char *lok_dlerror(void)
+ inline char *lok_dlerror(void)
{
return dlerror();
}
- void *lok_dlsym(void *Hnd, const char *pName)
+ inline void *lok_dlsym(void *Hnd, const char *pName)
{
return dlsym(Hnd, pName);
}
- int lok_dlclose(void *Hnd)
+ inline int lok_dlclose(void *Hnd)
{
return dlclose(Hnd);
}
- void extendUnoPath(const char *pPath)
+ inline void extendUnoPath(const char *pPath)
{
(void)pPath;
}
More information about the Libreoffice-commits
mailing list