aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2011-07-14 20:47:54 -0700
committerRoland McGrath <roland@hack.frob.com>2011-07-14 20:47:54 -0700
commit661607b3dd9f0b10667d4040843c1a3dc40f0cc9 (patch)
treea248f7f96d831ac7d014a12c552f1cd46b86346c /sysdeps/i386
parent4b3d3e282a1c8a755bf5e02dd451158bdabbfcd8 (diff)
downloadglibc-661607b3dd9f0b10667d4040843c1a3dc40f0cc9.zip
glibc-661607b3dd9f0b10667d4040843c1a3dc40f0cc9.tar.gz
glibc-661607b3dd9f0b10667d4040843c1a3dc40f0cc9.tar.bz2
Quash a warning in strstr-c.c built for static.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/i686/multiarch/strstr-c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/multiarch/strstr-c.c b/sysdeps/i386/i686/multiarch/strstr-c.c
index efa9f78..1fcb00e 100644
--- a/sysdeps/i386/i686/multiarch/strstr-c.c
+++ b/sysdeps/i386/i686/multiarch/strstr-c.c
@@ -1,9 +1,11 @@
#include "init-arch.h"
#define STRSTR __strstr_ia32
+#if defined SHARED && defined DO_VERSIONING && !defined NO_HIDDEN
#undef libc_hidden_builtin_def
#define libc_hidden_builtin_def(name) \
__hidden_ver1 (__strstr_ia32, __GI_strstr, __strstr_ia32);
+#endif
#include "string/strstr.c"