From 19b1545dafea4195e52ca8f831f3109a1bdaeb32 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 13 Jul 2016 15:13:33 +0200 Subject: [PATCH] mx_util: remove inline attribute from mx_stribeginswithany MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit avoid compiler warning "warning: ‘_mx_strbeginswithany’ is static but used in inline function ‘mx_stribeginswithany’ which is not static" --- mx_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mx_util.c b/mx_util.c index 9f2fd57f..809e1c63 100644 --- a/mx_util.c +++ b/mx_util.c @@ -78,7 +78,7 @@ inline int mx_strbeginswithany(char *str, char **starts, char **endptr) return _mx_strbeginswithany(str, starts, endptr, 0); } -inline int mx_stribeginswithany(char *str, char **starts, char **endptr) +int mx_stribeginswithany(char *str, char **starts, char **endptr) { return _mx_strbeginswithany(str, starts, endptr, 1); }