mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Fix warnings in fallback C code of x86-32 wide memory functions
This commit is contained in:
parent
ab26144ebb
commit
e7f4b08ee9
@ -1,5 +1,9 @@
|
||||
2011-11-12 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
|
||||
* sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
|
||||
* sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
|
||||
|
||||
* nis/nis_table.c (nis_list): Use variable of correct type for
|
||||
result of __follow_path call.
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <wchar.h>
|
||||
|
||||
#define WCSCMP __wcscmp_ia32
|
||||
#ifdef SHARED
|
||||
# undef libc_hidden_def
|
||||
@ -5,4 +7,6 @@
|
||||
__hidden_ver1 (__wcscmp_ia32, __GI_wcscmp, __wcscmp_ia32);
|
||||
#endif
|
||||
|
||||
extern __typeof (wcscmp) __wcscmp_ia32;
|
||||
|
||||
#include "wcsmbs/wcscmp.c"
|
||||
|
@ -1,5 +1,9 @@
|
||||
#include <wchar.h>
|
||||
|
||||
#ifndef NOT_IN_libc
|
||||
# define WCSLEN __wcslen_ia32
|
||||
#endif
|
||||
|
||||
extern __typeof (wcslen) __wcslen_ia32;
|
||||
|
||||
#include "wcsmbs/wcslen.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"
|
||||
|
Loading…
Reference in New Issue
Block a user