Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mx_util: remove inline attribute from mx_stribeginswithany
avoid compiler warning "warning: ‘_mx_strbeginswithany’ is static but
used in inline function ‘mx_stribeginswithany’ which is not static"
  • Loading branch information
donald committed Jul 13, 2016
1 parent f71ab9c commit 19b1545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mx_util.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit 19b1545

Please sign in to comment.