From 91b81b64e332da185d3ac8679a977c665c80914e Mon Sep 17 00:00:00 2001 From: Phillip Wood Date: Mon, 20 Mar 2023 16:10:02 +0000 Subject: 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 Signed-off-by: Phillip Wood Signed-off-by: Junio C Hamano --- wildmatch.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'wildmatch.h') diff --git a/wildmatch.h b/wildmatch.h index 5993696298..0c890cb56b 100644 --- a/wildmatch.h +++ b/wildmatch.h @@ -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 -- cgit v1.2.3