diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-02-27 08:01:47 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-27 08:01:47 +0000 |
commit | d148ed257ab179a6a408bc1668e2effb447726bd (patch) | |
tree | dc1c20da057af92f4170187c6bbf0959a1afe1ea /nptl/tst-rwlock9.c | |
parent | 695799feb3e640323ec86b469517f87ca16e99ff (diff) | |
download | glibc-d148ed257ab179a6a408bc1668e2effb447726bd.tar.gz glibc-d148ed257ab179a6a408bc1668e2effb447726bd.tar.xz glibc-d148ed257ab179a6a408bc1668e2effb447726bd.zip |
Update.
2003-02-27 Ulrich Drepper <drepper@redhat.com> * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages except the PKTINFO. Reset interface in PKTINFO. * elf/elf.h: Add new R_PPC64_* relocs for TLS. * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
Diffstat (limited to 'nptl/tst-rwlock9.c')
-rw-r--r-- | nptl/tst-rwlock9.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nptl/tst-rwlock9.c b/nptl/tst-rwlock9.c index 5b6b3001b2..adbf67224d 100644 --- a/nptl/tst-rwlock9.c +++ b/nptl/tst-rwlock9.c @@ -35,7 +35,11 @@ #define TIMEOUT 1000000 #define DELAY 1000000 -static pthread_rwlock_t lock = PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP; +#ifndef INIT +# define INIT PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP +#endif + +static pthread_rwlock_t lock = INIT; static void * |