aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libiconv/aliases_sysosf1.h
diff options
context:
space:
mode:
authordanlark <danlark@yandex-team.ru>2022-02-10 16:46:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:08 +0300
commit3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch)
tree26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /contrib/libs/libiconv/aliases_sysosf1.h
parentcb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff)
downloadydb-3426a9bc7f169ae9da54cef557ad2a33f6e8eee0.tar.gz
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/libiconv/aliases_sysosf1.h')
-rw-r--r--contrib/libs/libiconv/aliases_sysosf1.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/libiconv/aliases_sysosf1.h b/contrib/libs/libiconv/aliases_sysosf1.h
index 5c7466acd6..ac4c07a680 100644
--- a/contrib/libs/libiconv/aliases_sysosf1.h
+++ b/contrib/libs/libiconv/aliases_sysosf1.h
@@ -65,7 +65,7 @@ aliases_hash (register const char *str, register unsigned int len)
940, 940, 940, 940, 940, 940, 940, 940, 940, 940,
940, 940, 940, 940, 940, 940, 940, 940
};
- int hval = len;
+ int hval = len;
switch (hval)
{
@@ -1717,14 +1717,14 @@ aliases_lookup (register const char *str, register unsigned int len)
{
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
{
- int key = aliases_hash (str, len);
+ int key = aliases_hash (str, len);
if (key <= MAX_HASH_VALUE && key >= 0)
{
- int o = aliases[key].name;
+ int o = aliases[key].name;
if (o >= 0)
{
- const char *s = o + stringpool;
+ const char *s = o + stringpool;
if (*str == *s && !strcmp (str + 1, s + 1))
return &aliases[key];