aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahisa Kojima <masahisa.kojima@linaro.org>2022-05-16 20:00:42 +0900
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-05-28 10:59:27 +0200
commitafbeedc8684652ebdabeac756bfa1f7435863d96 (patch)
tree91e32b0a52d4c2ca82b75d9d74516336afaddfc4 /include
parent57ad624103c32be9a77359f2fded6419272e92f6 (diff)
downloadu-boot-afbeedc8684652ebdabeac756bfa1f7435863d96.zip
u-boot-afbeedc8684652ebdabeac756bfa1f7435863d96.tar.gz
u-boot-afbeedc8684652ebdabeac756bfa1f7435863d96.tar.bz2
lib/charset: fix compile warnings
This commit fixes the following compile warnings for the documentation. ./include/charset.h:276: warning: Function parameter or member 'size' not described in 'u16_strlcat' ./include/charset.h:276: warning: Excess function parameter 'count' description in 'u16_strlcat' Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include')
-rw-r--r--include/charset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/charset.h b/include/charset.h
index 20abfbe..e900fd7 100644
--- a/include/charset.h
+++ b/include/charset.h
@@ -273,7 +273,7 @@ u16 *u16_strdup(const void *src);
* Return: required size including trailing 0x0000 in u16 words
* If return value >= count, truncation occurred.
*/
-size_t u16_strlcat(u16 *dest, const u16 *src, size_t size);
+size_t u16_strlcat(u16 *dest, const u16 *src, size_t count);
/**
* utf16_to_utf8() - Convert an utf16 string to utf8