summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-17 18:25:46 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-17 18:25:46 +0300
commitbb10522fd92948b442cd5742677fcae65b8f8027 (patch)
tree2a94292e770f61f6af780f1a691740db3bead05b
parent53f9b5affe109342f1f6f02a2211fdd8b7047571 (diff)
Revert "These 'inline' keywords are fairly pointless"
Nah, they are a good idea in most cases. This reverts commit 1c8e4f74c63312fca5898452fae4ba32268fce65.
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitInit.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h
index aedc606c4833..bbef7d54c829 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;
}