projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9e7bbc
)
(clock_nanosleep): Add one more __builtin_expect.
author
Ulrich Drepper
<drepper@redhat.com>
Mon, 26 Jun 2000 19:26:07 +0000
(19:26 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Mon, 26 Jun 2000 19:26:07 +0000
(19:26 +0000)
sysdeps/unix/clock_nanosleep.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/clock_nanosleep.c
b/sysdeps/unix/clock_nanosleep.c
index
a4d00d2
..
18d7ac2
100644
(file)
--- a/
sysdeps/unix/clock_nanosleep.c
+++ b/
sysdeps/unix/clock_nanosleep.c
@@
-49,7
+49,7
@@
clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req,
assert (sizeof (sec) >= sizeof (now.tv_sec));
/* Get the current time for this clock. */
- if (
clock_gettime (clock_id, &now
) != 0)
+ if (
__builtin_expect (clock_gettime (clock_id, &now), 0
) != 0)
return errno;
/* Compute the difference. */