From 28aed75a9fe72f265bff24a02b962616b3f36ad3 Mon Sep 17 00:00:00 2001 From: Calvin Wan Date: Wed, 5 Jul 2023 17:09:22 +0000 Subject: 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 Signed-off-by: Junio C Hamano --- git-compat-util.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'git-compat-util.h') diff --git a/git-compat-util.h b/git-compat-util.h index 2151d8b437..9d3c21acbb 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -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" /* -- cgit v1.2.3