diff options
author | Calvin Wan <calvinwan@google.com> | 2023-07-05 20:09:22 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-07-05 21:41:18 +0300 |
commit | 28aed75a9fe72f265bff24a02b962616b3f36ad3 (patch) | |
tree | ca051f29a5d4ce83c822eca43a507d171498aa23 /kwset.h | |
parent | 1890ce84bd7b2b199f422246d557dc2f2668ef17 (diff) |
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>
Diffstat (limited to 'kwset.h')
-rw-r--r-- | kwset.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,6 +26,8 @@ The author may be reached (Email) at the address mike@ai.mit.edu, or (US mail) as Mike Haertel c/o Free Software Foundation. */ +extern const unsigned char tolower_trans_tbl[256]; + struct kwsmatch { int index; /* Index number of matching keyword. */ |