summaryrefslogtreecommitdiff
path: root/libc/string/i386/strnlen.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-20 01:34:52 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-20 01:34:52 +0000
commitbd7510cc6b7ea453c1bc1c12949174f6324a6bdc (patch)
tree60cc6c9ef264264b208b3b70a7a2f54fc986fde4 /libc/string/i386/strnlen.c
parenta0da3cfbbff226c7792be30e2bb277386e7cd086 (diff)
string/i386/strncpy: faster i386 version (same code size), testing code
string/i386/*: formatiing and commentary tidying up
Diffstat (limited to 'libc/string/i386/strnlen.c')
-rw-r--r--libc/string/i386/strnlen.c2
1 files changed, 1 insertions, 1 deletions
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()