summaryrefslogtreecommitdiff
path: root/libc/string/i386/memchr.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/memchr.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/memchr.c')
-rw-r--r--libc/string/i386/memchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/i386/memchr.c b/libc/string/i386/memchr.c
index 772251cee..c2fc44b4a 100644
--- a/libc/string/i386/memchr.c
+++ b/libc/string/i386/memchr.c
@@ -55,7 +55,7 @@ void *memchr(const void *s, int c, size_t count)
#ifndef memchr
libc_hidden_def(memchr)
#else
-/* Uncomment TESTING, gcc -D__USE_GNU -m32 -Os memchr.c -o memchr
+/* Uncomment TESTING, gcc -D_GNU_SOURCE -m32 -Os memchr.c -o memchr
* and run ./memchr
*/
int main()