From 9df4453b386268b137f71b0e9548f67e03565dd4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 11 Aug 2005 11:45:05 +0000 Subject: [PATCH] Change parameter name to match comment. --- lib/ChangeLog | 4 ++++ lib/strnlen.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 7d9d4c6439..9cc09cefa4 100644 --- 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 index f1ca757f41..ba74dba7b2 100644 --- 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 */ -- 2.30.2