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>
This commit is contained in:
Nguyễn Thái Ngọc Duy
2012-10-15 13:25:58 +07:00
committed by Junio C Hamano
parent 3ae5396cf7
commit 9b4edc0a49
3 changed files with 8 additions and 20 deletions

View File

@@ -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);