about summary refs log tree commit diff
path: root/sysdeps/i386/multiarch/strnlen-i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/multiarch/strnlen-i386.c')
-rw-r--r--sysdeps/i386/multiarch/strnlen-i386.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/i386/multiarch/strnlen-i386.c b/sysdeps/i386/multiarch/strnlen-i386.c
new file mode 100644
index 0000000000..dd4dbda896
--- /dev/null
+++ b/sysdeps/i386/multiarch/strnlen-i386.c
@@ -0,0 +1,10 @@
+#define STRNLEN  __strnlen_i386
+#ifdef SHARED
+# undef libc_hidden_def
+# define libc_hidden_def(name)  \
+    __hidden_ver1 (__strnlen_i386, __GI_strnlen, __strnlen_i386); \
+    strong_alias (__strnlen_i386, __strnlen_i386_1); \
+    __hidden_ver1 (__strnlen_i386_1, __GI___strnlen, __strnlen_i386_1);
+#endif
+
+#include "string/strnlen.c"