* libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned
comparison * libc/string/memchr.c (memchr): Ditto. * libc/string/memrchr.c (memrchr): Ditto. * libc/string/memset.c: (memset): Ditto. * libc/string/rawmemchr.c (rawmemchr): Ditto. * libc/string/local.h (__locale_cjk_lang): Fix "function declaration isn't a prototype" warning. * libc/string/strcasestr.c (strcasestr): Ditto. * libc/string/u_strerr.c (_user_strerror): Fix "unused parameter" warnings. * libc/string/rawmemchr.c (rawmemchr): Fix comment type "// ..." -> "/* ... */".
This commit is contained in:
@ -6,5 +6,10 @@ _DEFUN(_user_strerror, (errnum, internal, errptr),
|
||||
int internal _AND
|
||||
int *errptr)
|
||||
{
|
||||
/* prevent warning about unused parameters */
|
||||
_CAST_VOID errnum;
|
||||
_CAST_VOID internal;
|
||||
_CAST_VOID errptr;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user