wildmatch: hide internal return values
WM_ABORT_ALL and WM_ABORT_TO_STARSTAR are used internally to limit backtracking when a match fails, they are not of interest to the caller and so should not be public. Suggested-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
81b26f8f28
commit
91b81b64e3
@ -6,8 +6,6 @@
|
||||
|
||||
#define WM_NOMATCH 1
|
||||
#define WM_MATCH 0
|
||||
#define WM_ABORT_ALL -1
|
||||
#define WM_ABORT_TO_STARSTAR -2
|
||||
|
||||
int wildmatch(const char *pattern, const char *text, unsigned int flags);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user