Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ctype.c: Fix a sparse warning
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index 230e198fc35390fbccb496d2b74425382439dc4a..ac0a87bdb9c77eb7a8321e5c63af7e73d726d62e 100644
(file)
--- 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