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]
/
posix
/
getopt.c
diff --git
a/posix/getopt.c
b/posix/getopt.c
index 2d481f1c7f98fa7a5d90d9fcc17b8292177a0b6d..a859acb67a8663d40143597c3f3b0de350be829a 100644
(file)
--- a/
posix/getopt.c
+++ b/
posix/getopt.c
@@
-601,7
+601,7
@@
_getopt_internal_r (int argc, char *const *argv, const char *optstring,
fputc_unlocked ('\n', fp);
- if (__
builtin_expect (fclose (fp) != EOF, 1
))
+ if (__
glibc_likely (fclose (fp) != EOF
))
{
_IO_flockfile (stderr);