From 204dbfc81febe94ae86a985c653ef4875bb93853 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 7 Mar 2018 15:00:25 +0100 Subject: filelist: Fix misinterpretation of C99 inline semantics --- src/filelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); -- cgit v1.2.3