about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-14 13:12:02 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-14 13:12:02 +0000
commite97ed6ddbe0d53d616d93669826db225b12c3235 (patch)
tree95e71538707c4723fd2a47ae52e6ca5c467cfc50 /string
parentcb57ce6031a84f9fab94eb318909fad368baa81d (diff)
downloadglibc-e97ed6ddbe0d53d616d93669826db225b12c3235.tar.gz
glibc-e97ed6ddbe0d53d616d93669826db225b12c3235.tar.xz
glibc-e97ed6ddbe0d53d616d93669826db225b12c3235.zip
Remove bp-sym.h and BP_SYM uses from C code.
Diffstat (limited to 'string')
-rw-r--r--string/memchr.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/string/memchr.c b/string/memchr.c
index d4c8457795..2427c4b4b6 100644
--- a/string/memchr.c
+++ b/string/memchr.c
@@ -47,11 +47,6 @@
 #endif
 
 #include <sys/types.h>
-#if HAVE_BP_SYM_H || defined _LIBC
-#include <bp-sym.h>
-#else
-# define BP_SYM(sym) sym
-#endif
 
 #undef memchr
 #undef __memchr
@@ -203,6 +198,6 @@ __memchr (s, c_in, n)
   return 0;
 }
 #ifdef weak_alias
-weak_alias (__memchr, BP_SYM (memchr))
+weak_alias (__memchr, memchr)
 #endif
 libc_hidden_builtin_def (memchr)