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]
/
dlfcn
/
dlopen.c
diff --git
a/dlfcn/dlopen.c
b/dlfcn/dlopen.c
index 2db6610a77e6bf432a02f5274478cbd95f98cd2b..fa58c4cebff4bc5d2f087b216a6d2c15b1ffa64b 100644
(file)
--- a/
dlfcn/dlopen.c
+++ b/
dlfcn/dlopen.c
@@
-74,7
+74,7
@@
void *
__dlopen (const char *file, int mode DL_CALLER_DECL)
{
# ifdef SHARED
- if (__
builtin_expect (_dlfcn_hook != NULL, 0
))
+ if (__
glibc_unlikely (_dlfcn_hook != NULL
))
return _dlfcn_hook->dlopen (file, mode, DL_CALLER);
# endif