summaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686/multiarch/memrchr-c.c
diff options
context:
space:
mode:
authorLiubov Dmitrieva <liubov.dmitrieva@gmail.com>2011-10-12 11:42:04 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-12 11:42:04 -0400
commit951fbcec70e65c49705fcdbf4630bee5ce2a5691 (patch)
tree33fa5a0729ad3f67f693290d450b42a1a431f5ea /sysdeps/i386/i686/multiarch/memrchr-c.c
parent0ac5ae2335292908f39031b1ea9fe8edce433c0f (diff)
downloadglibc-951fbcec70e65c49705fcdbf4630bee5ce2a5691.tar.gz
Optimized memchr, memrchr, rawmemchr for x86-32
Diffstat (limited to 'sysdeps/i386/i686/multiarch/memrchr-c.c')
-rw-r--r--sysdeps/i386/i686/multiarch/memrchr-c.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/multiarch/memrchr-c.c b/sysdeps/i386/i686/multiarch/memrchr-c.c
new file mode 100644
index 0000000000..44ec1a6ed9
--- /dev/null
+++ b/sysdeps/i386/i686/multiarch/memrchr-c.c
@@ -0,0 +1,7 @@
+#ifndef NOT_IN_libc
+# define MEMRCHR __memrchr_ia32
+# include <string.h>
+extern void *__memrchr_ia32 (const void *, int, size_t);
+#endif
+
+#include "string/memrchr.c"