about summary refs log tree commit diff
path: root/sysdeps/i386/multiarch/strncmp-i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/multiarch/strncmp-i386.c')
-rw-r--r--sysdeps/i386/multiarch/strncmp-i386.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/i386/multiarch/strncmp-i386.c b/sysdeps/i386/multiarch/strncmp-i386.c
new file mode 100644
index 0000000000..8e4138894f
--- /dev/null
+++ b/sysdeps/i386/multiarch/strncmp-i386.c
@@ -0,0 +1,8 @@
+#ifdef SHARED
+# define STRNCMP __strncmp_i386
+# undef libc_hidden_builtin_def
+# define libc_hidden_builtin_def(name)  \
+    __hidden_ver1 (__strncmp_i386, __GI_strncmp, __strncmp_i386);
+#endif
+
+#include "string/strncmp.c"