about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/strpbrk.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-09-06 14:35:23 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-09-06 14:35:23 -0300
commit65687ac76c1640e4e01920c0d7c20aff374e6b8c (patch)
tree2b8efc334b88e468056f7b1f5a3439d5405c80cb /sysdeps/x86_64/multiarch/strpbrk.c
parentab5ac271e6210fa0af11cf3ca525ce573bc47c48 (diff)
downloadglibc-65687ac76c1640e4e01920c0d7c20aff374e6b8c.tar.gz
glibc-65687ac76c1640e4e01920c0d7c20aff374e6b8c.tar.xz
glibc-65687ac76c1640e4e01920c0d7c20aff374e6b8c.zip
Remove remaining _HAVE_STRING_ARCH_* definitions (BZ #18858)
Since the removal of bits/string.h, _HAVE_STRING_ARCH_* are no
longer used.  This patch removes the unused macros from i686
and x86_64 sysdeps folder.

Checked on x86_64-linux-gnu and i686-linux-gnu.

	* sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
	Remove define.
	* sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
	Likewise.
	* sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
	Likewise.
	* sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
	Likewise.
	* sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
	Likewise.
	* sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
	Likewise.
	* sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
	Likewise.
Diffstat (limited to 'sysdeps/x86_64/multiarch/strpbrk.c')
-rw-r--r--sysdeps/x86_64/multiarch/strpbrk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/strpbrk.c b/sysdeps/x86_64/multiarch/strpbrk.c
index 65453df498..b69cd73493 100644
--- a/sysdeps/x86_64/multiarch/strpbrk.c
+++ b/sysdeps/x86_64/multiarch/strpbrk.c
@@ -19,7 +19,6 @@
 
 /* Define multiple versions only for the definition in libc.  */
 #if IS_IN (libc)
-# define _HAVE_STRING_ARCH_strpbrk 1
 # define strpbrk __redirect_strpbrk
 # include <string.h>
 # undef strpbrk