Change parameter name to match comment.
authorBruno Haible <bruno@clisp.org>
Thu, 11 Aug 2005 11:45:05 +0000 (11:45 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 11 Aug 2005 11:45:05 +0000 (11:45 +0000)
lib/ChangeLog
lib/strnlen.h

index 7d9d4c6439b0fa9ee64755979c5a89f1968896c7..9cc09cefa402a229645223a53d237078e38167c8 100644 (file)
@@ -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.
index f1ca757f4117df9ffd09c7df060ea2b608e1c112..ba74dba7b25e2beea20af6809269c3b0f48d22a8 100644 (file)
@@ -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 */