strv: modernize strv_fnmatch() a bit
This commit is contained in:
committed by
Yu Watanabe
parent
b0c9fd8103
commit
bcfc0e8872
+1
-1
@@ -240,7 +240,7 @@ void strv_print(char * const *l);
|
||||
char** strv_reverse(char **l);
|
||||
char** strv_shell_escape(char **l, const char *bad);
|
||||
|
||||
bool strv_fnmatch_full(char* const* patterns, const char *s, int flags, size_t *matched_pos);
|
||||
bool strv_fnmatch_full(char* const* patterns, const char *s, int flags, size_t *ret_matched_pos);
|
||||
static inline bool strv_fnmatch(char* const* patterns, const char *s) {
|
||||
return strv_fnmatch_full(patterns, s, 0, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user