aboutsummaryrefslogtreecommitdiff
path: root/string/strchrnul.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-10-14 09:14:06 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-12-06 05:47:01 -0600
commit31c81aaa01a6033c53b30d3ffa9aa806d10ecdf5 (patch)
treeab0437e0a5e0f8b0704b3226cc9c54128d171abf /string/strchrnul.c
parent0d0607d9ab7390a66e514a1d1cfb01f889e00d47 (diff)
downloadglibc-31c81aaa01a6033c53b30d3ffa9aa806d10ecdf5.tar
glibc-31c81aaa01a6033c53b30d3ffa9aa806d10ecdf5.tar.gz
glibc-31c81aaa01a6033c53b30d3ffa9aa806d10ecdf5.tar.bz2
glibc-31c81aaa01a6033c53b30d3ffa9aa806d10ecdf5.zip
PowerPC: multiarch strchrnul for PowerPC32
Diffstat (limited to 'string/strchrnul.c')
-rw-r--r--string/strchrnul.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/string/strchrnul.c b/string/strchrnul.c
index 1f63572d6c..bf39636872 100644
--- a/string/strchrnul.c
+++ b/string/strchrnul.c
@@ -27,9 +27,13 @@
#undef __strchrnul
#undef strchrnul
+#ifndef STRCHRNUL
+# define STRCHRNUL __strchrnul
+#endif
+
/* Find the first occurrence of C in S or the final NUL byte. */
char *
-__strchrnul (s, c_in)
+STRCHRNUL (s, c_in)
const char *s;
int c_in;
{