summaryrefslogtreecommitdiffstats
path: root/wildmatch.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-10-15 13:25:58 +0700
committerJunio C Hamano <gitster@pobox.com>2012-10-15 14:58:18 -0700
commit9b4edc0a49abd4b5c6505c63c8fa40d527df6ae8 (patch)
treeb802eaecbd4e85aaddffa27435ba292f7c4a904c /wildmatch.h
parentwildmatch: make wildmatch's return value compatible with fnmatch (diff)
downloadgit-9b4edc0a49abd4b5c6505c63c8fa40d527df6ae8.tar.xz
git-9b4edc0a49abd4b5c6505c63c8fa40d527df6ae8.zip
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 562faa35a5d..e974f9abce5 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);