projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3287561
)
uft8: add comment, requested by @keszybz
author
Lennart Poettering
<lennart@poettering.net>
Thu, 27 Sep 2018 15:13:53 +0000
(17:13 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 27 Sep 2018 15:21:18 +0000
(17:21 +0200)
src/basic/utf8.h
patch
|
blob
|
history
diff --git
a/src/basic/utf8.h
b/src/basic/utf8.h
index
69a816e
..
3de7980
100644
(file)
--- a/
src/basic/utf8.h
+++ b/
src/basic/utf8.h
@@
-30,7
+30,7
@@
size_t utf16_encode_unichar(char16_t *out, char32_t c);
char *utf16_to_utf8(const char16_t *s, size_t length /* bytes! */);
char16_t *utf8_to_utf16(const char *s, size_t length);
-size_t char16_strlen(const char16_t *s);
+size_t char16_strlen(const char16_t *s);
/* returns the number of 16bit words in the string (not bytes!) */
int utf8_encoded_valid_unichar(const char *str);
int utf8_encoded_to_unichar(const char *str, char32_t *ret_unichar);