about summary refs log tree commit diff
path: root/sysdeps/i386/i686/multiarch/wmemcmp-c.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-11-12 00:50:26 -0500
committerUlrich Drepper <drepper@gmail.com>2011-11-12 00:50:26 -0500
commite7f4b08ee9b36cc1fdb7d7f72013788a832a9f22 (patch)
tree259f569feb669e95369ecfe1c202f8c1ea319c5b /sysdeps/i386/i686/multiarch/wmemcmp-c.c
parentab26144ebb79009a4cdf50c6768bcb4b2debcdcb (diff)
downloadglibc-e7f4b08ee9b36cc1fdb7d7f72013788a832a9f22.tar.gz
glibc-e7f4b08ee9b36cc1fdb7d7f72013788a832a9f22.tar.xz
glibc-e7f4b08ee9b36cc1fdb7d7f72013788a832a9f22.zip
Fix warnings in fallback C code of x86-32 wide memory functions
Diffstat (limited to 'sysdeps/i386/i686/multiarch/wmemcmp-c.c')
-rw-r--r--sysdeps/i386/i686/multiarch/wmemcmp-c.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/multiarch/wmemcmp-c.c b/sysdeps/i386/i686/multiarch/wmemcmp-c.c
index 94ff6151f2..bd37660fcb 100644
--- a/sysdeps/i386/i686/multiarch/wmemcmp-c.c
+++ b/sysdeps/i386/i686/multiarch/wmemcmp-c.c
@@ -1,5 +1,9 @@
+#include <wchar.h>
+
 #ifndef NOT_IN_libc
 # define WMEMCMP  __wmemcmp_ia32
 #endif
 
+extern __typeof (wmemcmp) __wmemcmp_ia32;
+
 #include "wcsmbs/wmemcmp.c"