Merge branch 'jc/pickaxe-ignore-case' into next

* jc/pickaxe-ignore-case:
  ctype.c: Fix a sparse warning
This commit is contained in:
Junio C Hamano
2012-03-04 23:39:15 -08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1274,7 +1274,4 @@ extern struct startup_info *startup_info;
/* builtin/merge.c */
int checkout_fast_forward(const unsigned char *from, const unsigned char *to);
/* in ctype.c, for kwset users */
extern const char tolower_trans_tbl[256];
#endif /* CACHE_H */

View File

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