Mercurial > hg > octave-kai > gnulib-hg
changeset 6022:3e49ae01bca0
Change parameter name to match comment.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 11 Aug 2005 11:45:05 +0000 |
parents | 257c2e42dede |
children | dc4cf8f3232e |
files | lib/ChangeLog lib/strnlen.h |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2005-08-11 Bruno Haible <bruno@clisp.org> + + * strnlen.h (strnlen): Change parameter name to match comment. + 2005-08-10 Simon Josefsson <jas@extundo.com> * strndup.c: Use 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 */