# HG changeset patch # User Bruno Haible # Date 1123760705 0 # Node ID 3e49ae01bca02e84254d47ac055ba64ac1b0efc2 # Parent 257c2e42deded01e6743e0a8c1edaaa00dff2108 Change parameter name to match comment. diff --git a/lib/ChangeLog b/lib/ChangeLog --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2005-08-11 Bruno Haible + + * strnlen.h (strnlen): Change parameter name to match comment. + 2005-08-10 Simon Josefsson * strndup.c: Use strnlen.h. diff --git a/lib/strnlen.h b/lib/strnlen.h --- a/lib/strnlen.h +++ b/lib/strnlen.h @@ -26,7 +26,7 @@ /* Find the length (number of bytes) of STRING, but scan at most MAXLEN bytes. If no '\0' terminator is found in that many bytes, return MAXLEN. */ -extern size_t strnlen(const char *s, size_t maxlen); +extern size_t strnlen(const char *string, size_t maxlen); #endif #endif /* STRNLEN_H */