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.koj...@linaro.org>
---
Newly created in v6

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

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
-- 
2.17.1

Reply via email to