summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-03-07 15:00:25 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-03-07 15:00:25 +0100
commit204dbfc81febe94ae86a985c653ef4875bb93853 (patch)
tree69728d45c82221da21887a11e35911d3aeb9d68a
parenta6a325af3b192035694deb38907312de50ef6965 (diff)
filelist: Fix misinterpretation of C99 inline semantics
-rw-r--r--src/filelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filelist.c b/src/filelist.c
index 453f795..08da331 100644
--- a/src/filelist.c
+++ b/src/filelist.c
@@ -398,7 +398,7 @@ void feh_file_dirname(char *dst, feh_file * f, int maxlen)
}
#ifdef HAVE_VERSCMP
-inline int strcmp_or_strverscmp(const char *s1, const char *s2)
+static inline int strcmp_or_strverscmp(const char *s1, const char *s2)
{
if (!opt.version_sort)
return(strcmp(s1, s2));