diff options
Diffstat (limited to 'string/test-strnlen.c')
-rw-r--r-- | string/test-strnlen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/string/test-strnlen.c b/string/test-strnlen.c index 726c630..83c4502 100644 --- a/string/test-strnlen.c +++ b/string/test-strnlen.c @@ -42,11 +42,10 @@ #endif /* !WIDE */ typedef size_t (*proto_t) (const CHAR *, size_t); -size_t SIMPLE_STRNLEN (const CHAR *, size_t); -IMPL (SIMPLE_STRNLEN, 0) IMPL (STRNLEN, 1) +/* Naive implementation to verify results. */ size_t SIMPLE_STRNLEN (const CHAR *s, size_t maxlen) { |