kwset: move translation table from ctype
This table was originally introduced to solely be used with kwset
machinery (0f871cf56e), so it would make sense for it to belong in
kwset.[ch] rather than ctype.c and git-compat-util.h. It is only used in
diffcore-pickaxe.c, which already includes kwset.h so no other headers
have to be modified.
Signed-off-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
1890ce84bd
commit
28aed75a9f
@@ -1150,9 +1150,6 @@ static inline size_t xsize_t(off_t len)
|
||||
#define HOST_NAME_MAX 256
|
||||
#endif
|
||||
|
||||
/* in ctype.c, for kwset users */
|
||||
extern const unsigned char tolower_trans_tbl[256];
|
||||
|
||||
#include "sane-ctype.h"
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user