summary refs log tree commit diff
path: root/nptl/sysdeps/pthread/pthread.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-12 18:45:49 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-12 18:45:49 +0000
commitccc63b07082c257ffc6fe0b0bbf770283bb44e98 (patch)
tree4fe19a84b02141ca49ed9a9a1536be08a16bfd2d /nptl/sysdeps/pthread/pthread.h
parent9ad684229e7cf2f0b3c6068b2122701d167a5794 (diff)
downloadglibc-ccc63b07082c257ffc6fe0b0bbf770283bb44e98.tar.gz
glibc-ccc63b07082c257ffc6fe0b0bbf770283bb44e98.tar.xz
glibc-ccc63b07082c257ffc6fe0b0bbf770283bb44e98.zip
[BZ #365]
Update.
	* misc/syslog.c (vsyslog): Fix copying of PID in case of
	out-of-memory situation.  [BZ #365].

	* sysdeps/alpha/fpu/bits/mathinline.h: Use __NTH instead of
	__THROW in inline function definitions.
Diffstat (limited to 'nptl/sysdeps/pthread/pthread.h')
-rw-r--r--nptl/sysdeps/pthread/pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index c4c9ec808c..18ccb83c50 100644
--- a/nptl/sysdeps/pthread/pthread.h
+++ b/nptl/sysdeps/pthread/pthread.h
@@ -718,7 +718,7 @@ extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
 #endif
 
 
-#ifdef __USE_UNIX98
+#if defined __USE_UNIX98 || defined __USE_XOPEN2K
 /* Functions for handling read-write locks.  */
 
 /* Initialize read-write lock RWLOCK using attributes ATTR, or use