diff options
| author | katherine <ageha@airen-no-jikken.icu> | 2019-12-10 23:23:24 -0700 | 
|---|---|---|
| committer | katherine <ageha@airen-no-jikken.icu> | 2019-12-10 23:23:24 -0700 | 
| commit | 9eadeef96ff35f12f2a44085e84d42d93c53c026 (patch) | |
| tree | c508ed26069448b9ea04e9402a623aef824c9f69 | |
| parent | 12476abdab83f765da8173e73b172ecf4749f6b9 (diff) | |
| download | simple-xdg-bdirs-9eadeef96ff35f12f2a44085e84d42d93c53c026.tar.gz | |
add inline hints to avoid wunused warnings
| -rw-r--r-- | simple-xdg-bdirs.h | 4 | 
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) { | 
