summaryrefslogtreecommitdiff
path: root/wildmatch.h
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2023-03-20 16:10:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-03-20 17:58:53 (GMT)
commit91b81b64e332da185d3ac8679a977c665c80914e (patch)
tree7c4a25a594623ff210142ef9e4763e8d9b1b7e66 /wildmatch.h
parent81b26f8f2891f1a63d5dbf7c2d4209b8325062b6 (diff)
downloadgit-91b81b64e332da185d3ac8679a977c665c80914e.zip
git-91b81b64e332da185d3ac8679a977c665c80914e.tar.gz
git-91b81b64e332da185d3ac8679a977c665c80914e.tar.bz2
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>
Diffstat (limited to 'wildmatch.h')
-rw-r--r--wildmatch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/wildmatch.h b/wildmatch.h
index 5993696..0c890cb 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