summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-03-07 20:12:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-03-07 20:12:59 (GMT)
commit1e4d0875acbce3c881bc1de66c8900cdc240ebe8 (patch)
tree1f8ebc2181351b54d600b16a1ec1434e51049352 /git-compat-util.h
parent713194ce54ea67d3fc666ef81aaece16d0e44928 (diff)
parentf1589d100796c58615033dde10c1c6446b814357 (diff)
downloadgit-1e4d0875acbce3c881bc1de66c8900cdc240ebe8.zip
git-1e4d0875acbce3c881bc1de66c8900cdc240ebe8.tar.gz
git-1e4d0875acbce3c881bc1de66c8900cdc240ebe8.tar.bz2
Merge branch 'jc/pickaxe-ignore-case'
By Junio C Hamano (2) and Ramsay Jones (1) * jc/pickaxe-ignore-case: ctype.c: Fix a sparse warning pickaxe: allow -i to search in patch case-insensitively grep: use static trans-case table
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 426ae43..ed11ad8 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -457,6 +457,9 @@ static inline int has_extension(const char *filename, const char *ext)
return len > extlen && !memcmp(filename + len - extlen, ext, extlen);
}
+/* in ctype.c, for kwset users */
+extern const char tolower_trans_tbl[256];
+
/* Sane ctype - no locale, and works with signed chars */
#undef isascii
#undef isspace