diff mbox series

[v6,6/6] lib/charset: fix compile warnings

Message ID 20220516110043.31480-7-masahisa.kojima@linaro.org
State Accepted
Commit afbeedc8684652ebdabeac756bfa1f7435863d96
Headers show
Series enable menu-driven boot device selection | expand

Commit Message

Masahisa Kojima May 16, 2022, 11 a.m. UTC
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>
---
Newly created in v6

 include/charset.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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