git.samba.org
/
jlayton
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use glibc_likely instead __builtin_expect.
[jlayton/glibc.git]
/
debug
/
wmemmove_chk.c
diff --git
a/debug/wmemmove_chk.c
b/debug/wmemmove_chk.c
index 59462cda3bf043bae9dc5273f0d0155ee39eb6ac..c82b4d0d23dcc5c480691248421c0406e61a20e7 100644
(file)
--- a/
debug/wmemmove_chk.c
+++ b/
debug/wmemmove_chk.c
@@
-23,7
+23,7
@@
wchar_t *
__wmemmove_chk (wchar_t *s1, const wchar_t *s2, size_t n, size_t ns1)
{
- if (__
builtin_expect (ns1 < n, 0
))
+ if (__
glibc_unlikely (ns1 < n
))
__chk_fail ();
return (wchar_t *) memmove ((char *) s1, (char *) s2, n * sizeof (wchar_t));
}