From: Vsevolod Stakhov Date: Tue, 3 Apr 2018 13:50:37 +0000 (+0100) Subject: [Minor] Remove always-inline as it breaks build with specific flags X-Git-Tag: 1.7.3~51 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=00e3ba7554e0864d9a6e8ae4c3a609685289c02c;p=rspamd.git [Minor] Remove always-inline as it breaks build with specific flags --- 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);