aboutsummaryrefslogtreecommitdiffstats
path: root/simple-xdg-bdirs.h
diff options
context:
space:
mode:
Diffstat (limited to 'simple-xdg-bdirs.h')
-rw-r--r--simple-xdg-bdirs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/simple-xdg-bdirs.h b/simple-xdg-bdirs.h
index 98a57b5..e9aafc8 100644
--- a/simple-xdg-bdirs.h
+++ b/simple-xdg-bdirs.h
@@ -383,7 +383,7 @@ sub_simple_xdg_bdirs_join(const char *s1, const char *s2)
* EOVERFLOW: extremely-large string encountered (unlikely)
* ENOMEM: malloc err
*/
-static char*
+static inline char*
simple_xdg_bdirs_fullpath_read(const char *rel_path, char **read_dirs)
{
char **cur, *path;
@@ -419,7 +419,7 @@ simple_xdg_bdirs_fullpath_read(const char *rel_path, char **read_dirs)
* EOVERFLOW: extremely-large string encountered (unlikely)
* ENOMEM: malloc err
*/
-static char*
+static inline char*
simple_xdg_bdirs_fullpath_write(const char *rel_path, char *write_dir)
{
if (rel_path == NULL && write_dir == NULL) {