aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-06 08:01:28 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-06 08:01:28 +0000
commitf38a30861e2c2979a6417801c91ca652f2711959 (patch)
tree958b42ae485a3674d31c66fdb757ca4911f615c5 /nptl
parentb85a0f39b72abca260a01b7c2e7210bffc876f78 (diff)
downloadglibc-f38a30861e2c2979a6417801c91ca652f2711959.tar
glibc-f38a30861e2c2979a6417801c91ca652f2711959.tar.gz
glibc-f38a30861e2c2979a6417801c91ca652f2711959.tar.bz2
glibc-f38a30861e2c2979a6417801c91ca652f2711959.zip
Update.
* tst-clock1.c: Change #ifdef to #if defined. * tst-clock2.c: Likewise. * tst-cond11.c: Likewise. 2004-10-05 Jakub Jelinek <jakub@redhat.com>
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog6
-rw-r--r--nptl/tst-clock1.c2
-rw-r--r--nptl/tst-clock2.c2
-rw-r--r--nptl/tst-cond11.c2
4 files changed, 9 insertions, 3 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 1cbe0ee02b..0ddc0d0b08 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,11 @@
2004-10-05 Jakub Jelinek <jakub@redhat.com>
+ * tst-clock1.c: Change #ifdef to #if defined.
+ * tst-clock2.c: Likewise.
+ * tst-cond11.c: Likewise.
+
+2004-10-05 Jakub Jelinek <jakub@redhat.com>
+
* sysdeps/pthread/timer_create.c (timer_create): Use
defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 instead of
defined CLOCK_PROCESS_CPUTIME_ID #ifs and similarly for
diff --git a/nptl/tst-clock1.c b/nptl/tst-clock1.c
index cba197943a..0848d77019 100644
--- a/nptl/tst-clock1.c
+++ b/nptl/tst-clock1.c
@@ -27,7 +27,7 @@
int
do_test (void)
{
-#ifdef _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
+#if defined _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
clockid_t cl;
/* This is really only a linking-test here. */
int e = pthread_getcpuclockid (pthread_self (), &cl);
diff --git a/nptl/tst-clock2.c b/nptl/tst-clock2.c
index 2ea2a529aa..fd216b2ba1 100644
--- a/nptl/tst-clock2.c
+++ b/nptl/tst-clock2.c
@@ -25,7 +25,7 @@
#include <unistd.h>
-#ifdef _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
+#if defined _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
static pthread_barrier_t b2;
static pthread_barrier_t bN;
diff --git a/nptl/tst-cond11.c b/nptl/tst-cond11.c
index 90a3e15868..0de4d56137 100644
--- a/nptl/tst-cond11.c
+++ b/nptl/tst-cond11.c
@@ -24,7 +24,7 @@
#include <unistd.h>
-#ifdef _POSIX_CLOCK_SELECTION && _POSIX_CLOCK_SELECTION >= 0
+#if defined _POSIX_CLOCK_SELECTION && _POSIX_CLOCK_SELECTION >= 0
static int
run_test (clockid_t cl)
{