diff options
author | leo <leo@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
commit | 99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /contrib/libs/libidn/nfkc.c | |
parent | 980edcd3304699edf9d4e4d6a656e585028e2a72 (diff) | |
download | ydb-99609724f661f7e21d1cb08e8d80e87c3632fdb3.tar.gz |
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/libidn/nfkc.c')
-rw-r--r-- | contrib/libs/libidn/nfkc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libs/libidn/nfkc.c b/contrib/libs/libidn/nfkc.c index 16fc7c7ece..2bb2e62fbc 100644 --- a/contrib/libs/libidn/nfkc.c +++ b/contrib/libs/libidn/nfkc.c @@ -329,12 +329,12 @@ g_unichar_to_utf8 (gunichar c, gchar * outbuf) * This value must be freed with g_free(). **/ static gunichar * -g_utf8_to_ucs4_fast (const gchar * str, glong len, size_t * items_written) +g_utf8_to_ucs4_fast (const gchar * str, glong len, size_t * items_written) { gint j, charlen; gunichar *result; - gint n_chars, i; - const gchar *p = str; + gint n_chars, i; + const gchar *p = str; g_return_val_if_fail (str != NULL, NULL); @@ -440,7 +440,7 @@ g_utf8_to_ucs4_fast (const gchar * str, glong len, size_t * items_written) static gchar * g_ucs4_to_utf8 (const gunichar * str, glong len, - size_t * items_read, size_t * items_written, GError ** error) + size_t * items_read, size_t * items_written, GError ** error) { gint result_length; gchar *result = NULL; @@ -975,7 +975,7 @@ stringprep_unichar_to_utf8 (uint32_t c, char *outbuf) uint32_t * stringprep_utf8_to_ucs4 (const char *str, ssize_t len, size_t * items_written) { - return g_utf8_to_ucs4_fast (str, (glong) len, items_written); + return g_utf8_to_ucs4_fast (str, (glong) len, items_written); } /** @@ -1000,7 +1000,7 @@ char * stringprep_ucs4_to_utf8 (const uint32_t * str, ssize_t len, size_t * items_read, size_t * items_written) { - return g_ucs4_to_utf8 (str, len, items_read, items_written, NULL); + return g_ucs4_to_utf8 (str, len, items_read, items_written, NULL); } /** |