aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libutil/str_util.c2
1 files changed, 0 insertions, 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);