aboutsummaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-10-14 08:08:51 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-12-06 05:47:00 -0600
commit7af8b946254cca6485aa789359c339ec7126cd8a (patch)
tree791021a5808911c60e2cc061f77f3792ea31d256 /string
parentPowerPC: multiarch memrchr for PowerPC32 (diff)
downloadglibc-7af8b946254cca6485aa789359c339ec7126cd8a.tar.gz
glibc-7af8b946254cca6485aa789359c339ec7126cd8a.tar.bz2
glibc-7af8b946254cca6485aa789359c339ec7126cd8a.zip
PowerPC: multiarch rawmemchr for PowerPC32
Diffstat (limited to 'string')
-rw-r--r--string/rawmemchr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/string/rawmemchr.c b/string/rawmemchr.c
index 30fbe87614..7702ecf047 100644
--- a/string/rawmemchr.c
+++ b/string/rawmemchr.c
@@ -47,10 +47,13 @@
#undef memchr
+#ifndef RAWMEMCHR
+# define RAWMEMCHR __rawmemchr
+#endif
/* Find the first occurrence of C in S. */
__ptr_t
-__rawmemchr (s, c_in)
+RAWMEMCHR (s, c_in)
const __ptr_t s;
int c_in;
{