summaryrefslogtreecommitdiff
path: root/wildmatch.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-10-15 06:25:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-10-15 21:58:18 (GMT)
commit9b4edc0a49abd4b5c6505c63c8fa40d527df6ae8 (patch)
treeb802eaecbd4e85aaddffa27435ba292f7c4a904c /wildmatch.h
parent3ae5396cf719000039c5d0d35f9bf934f647b030 (diff)
downloadgit-9b4edc0a49abd4b5c6505c63c8fa40d527df6ae8.zip
git-9b4edc0a49abd4b5c6505c63c8fa40d527df6ae8.tar.gz
git-9b4edc0a49abd4b5c6505c63c8fa40d527df6ae8.tar.bz2
wildmatch: remove static variable force_lower_case
One place less to worry about thread safety. Also combine wildmatch and iwildmatch into one. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wildmatch.h')
-rw-r--r--wildmatch.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/wildmatch.h b/wildmatch.h
index 562faa3..e974f9a 100644
--- a/wildmatch.h
+++ b/wildmatch.h
@@ -1,4 +1,3 @@
/* wildmatch.h */
-int wildmatch(const char *pattern, const char *text);
-int iwildmatch(const char *pattern, const char *text);
+int wildmatch(const char *pattern, const char *text, int flags);