From bd7510cc6b7ea453c1bc1c12949174f6324a6bdc Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 20 Dec 2008 01:34:52 +0000 Subject: string/i386/strncpy: faster i386 version (same code size), testing code string/i386/*: formatiing and commentary tidying up --- libc/string/i386/strnlen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/string/i386/strnlen.c') diff --git a/libc/string/i386/strnlen.c b/libc/string/i386/strnlen.c index d9bce6485..3abde48e2 100644 --- a/libc/string/i386/strnlen.c +++ b/libc/string/i386/strnlen.c @@ -56,7 +56,7 @@ size_t strnlen(const char *s, size_t count) #ifndef strnlen libc_hidden_def(strnlen) #else -/* Uncomment TESTING, gcc -D__USE_GNU -m32 -Os strnlen.c -o strnlen +/* Uncomment TESTING, gcc -D_GNU_SOURCE -m32 -Os strnlen.c -o strnlen * and run ./strnlen */ int main() -- cgit v1.2.3