summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-04-22 19:25:15 +0700
committerJunio C Hamano <gitster@pobox.com>2016-04-22 14:07:45 -0700
commit423b592a06876a90f584884d4381dcf4d41f6b3b (patch)
treea59f3704bae2c39b5161c0fc33b23940fcbd57d6 /dir.h
parent6a6636270fbaf74609cd3e1bd207dd2c420d640a (diff)
downloadgit-423b592a06876a90f584884d4381dcf4d41f6b3b.tar.gz
dir.c: remove dead function fnmatch_icase()
It was largely replaced by fnmatch_icase_mem() and its last use was in 84b8b5d (remove match_pathspec() in favor of match_pathspec_depth() - 2013-07-14). 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 'dir.h')
-rw-r--r--dir.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/dir.h b/dir.h
index 301b737a37..d56d2fb48f 100644
--- a/dir.h
+++ b/dir.h
@@ -272,7 +272,6 @@ extern int remove_path(const char *path);
extern int strcmp_icase(const char *a, const char *b);
extern int strncmp_icase(const char *a, const char *b, size_t count);
-extern int fnmatch_icase(const char *pattern, const char *string, int flags);
/*
* The prefix part of pattern must not contains wildcards.