1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Add x86-32 optimized wcscmp

This commit is contained in:
Ulrich Drepper
2011-09-05 13:53:27 -04:00
parent 109715ee22
commit 1b48c53782
7 changed files with 1090 additions and 4 deletions

View File

@@ -19,12 +19,15 @@
#include <wchar.h>
#ifndef WCSCMP
# define WCSCMP wcscmp
#endif
/* Compare S1 and S2, returning less than, equal to or
greater than zero if S1 is lexicographically less than,
equal to or greater than S2. */
int
wcscmp (s1, s2)
WCSCMP (s1, s2)
const wchar_t *s1;
const wchar_t *s2;
{
@@ -41,4 +44,4 @@ wcscmp (s1, s2)
return c1 - c2;
}
libc_hidden_def (wcscmp)
libc_hidden_def (WCSCMP)