]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
lib/charset: fix compile warnings
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Mon, 16 May 2022 11:00:42 +0000 (20:00 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 28 May 2022 08:59:27 +0000 (10:59 +0200)
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>
include/charset.h

index 20abfbe75241d0c96b97af70da1bc55a5f824087..e900fd789a2b472bc0360601c160b22c88a98fd6 100644 (file)
@@ -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