aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-27 06:35:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-27 06:35:29 +0000
commitd01fe03296ce087fb20905785aeb9caaa36592d9 (patch)
tree050407ac0b9438dbf7220ead167b031faa8cea1a /sysdeps
parent75dbc100bf903f908c4e5e90783307cf445b19db (diff)
downloadglibc-d01fe03296ce087fb20905785aeb9caaa36592d9.zip
glibc-d01fe03296ce087fb20905785aeb9caaa36592d9.tar.gz
glibc-d01fe03296ce087fb20905785aeb9caaa36592d9.tar.bz2
Update.
* sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove CLOCK_MONOTONIC. * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise. * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/i386/i586/clock_getres.c1
-rw-r--r--sysdeps/unix/i386/i586/clock_gettime.c1
-rw-r--r--sysdeps/unix/i386/i586/clock_nanosleep.c3
3 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/unix/i386/i586/clock_getres.c b/sysdeps/unix/i386/i586/clock_getres.c
index 2ea21a0..49986f8 100644
--- a/sysdeps/unix/i386/i586/clock_getres.c
+++ b/sysdeps/unix/i386/i586/clock_getres.c
@@ -47,7 +47,6 @@ static long int nsec;
#define EXTRA_CLOCK_CASES \
case CLOCK_PROCESS_CPUTIME_ID: \
case CLOCK_THREAD_CPUTIME_ID: \
- case CLOCK_MONOTONIC: \
{ \
if (__builtin_expect (nsec == 0, 0)) \
{ \
diff --git a/sysdeps/unix/i386/i586/clock_gettime.c b/sysdeps/unix/i386/i586/clock_gettime.c
index 38f7c4a..5d0e9f4 100644
--- a/sysdeps/unix/i386/i586/clock_gettime.c
+++ b/sysdeps/unix/i386/i586/clock_gettime.c
@@ -46,7 +46,6 @@ static unsigned long long int freq;
#define EXTRA_CLOCK_CASES \
case CLOCK_PROCESS_CPUTIME_ID: \
case CLOCK_THREAD_CPUTIME_ID: \
- case CLOCK_MONOTONIC: \
{ \
unsigned long long int tsc; \
\
diff --git a/sysdeps/unix/i386/i586/clock_nanosleep.c b/sysdeps/unix/i386/i586/clock_nanosleep.c
index 8cd3d4d..a1250cc 100644
--- a/sysdeps/unix/i386/i586/clock_nanosleep.c
+++ b/sysdeps/unix/i386/i586/clock_nanosleep.c
@@ -20,7 +20,6 @@
/* Additional definitions for the x86 version. */
#define CLOCK_P(clock) \
(clock) != CLOCK_PROCESS_CPUTIME_ID \
- && (clock) != CLOCK_THREAD_CPUTIME_ID \
- && (clock) != CLOCK_MONOTONIC
+ && (clock) != CLOCK_THREAD_CPUTIME_ID
#include <sysdeps/unix/clock_nanosleep.c>