adjust return type of strnlen() replacement
it doesn't really matter, but it's nicer to stay consistent with the official prototype.
This commit is contained in:
parent
0c36655201
commit
357dd51405
|
@ -222,7 +222,7 @@ memrchr( const void *s, int c, size_t n )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_STRNLEN
|
#ifndef HAVE_STRNLEN
|
||||||
int
|
size_t
|
||||||
strnlen( const char *str, size_t maxlen )
|
strnlen( const char *str, size_t maxlen )
|
||||||
{
|
{
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user