From 00e3ba7554e0864d9a6e8ae4c3a609685289c02c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 3 Apr 2018 14:50:37 +0100 Subject: [PATCH] [Minor] Remove always-inline as it breaks build with specific flags --- src/libutil/str_util.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c index 5fe8774a6..4d1b22076 100644 --- a/src/libutil/str_util.c +++ b/src/libutil/str_util.c @@ -1164,10 +1164,8 @@ rspamd_header_value_fold (const gchar *name, return res; } -static inline bool rspamd_substring_cmp_func (guchar a, guchar b) RSPAMD_ALWAYS_INLINE; static inline bool rspamd_substring_cmp_func (guchar a, guchar b) { return a == b; } -static inline bool rspamd_substring_casecmp_func (guchar a, guchar b) RSPAMD_ALWAYS_INLINE; static inline bool rspamd_substring_casecmp_func (guchar a, guchar b) { return lc_map[a] == lc_map[b]; } typedef bool (*rspamd_cmpchar_func_t) (guchar a, guchar b); -- 2.39.5