From: Masahisa Kojima Date: Mon, 16 May 2022 11:00:42 +0000 (+0900) Subject: lib/charset: fix compile warnings X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=afbeedc8684652ebdabeac756bfa1f7435863d96;p=u-boot.git 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 Reviewed-by: Heinrich Schuchardt --- diff --git a/include/charset.h b/include/charset.h index 20abfbe752..e900fd789a 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