diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-02-26 13:17:27 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-02-26 13:17:27 -0500 |
commit | 4efeffc1d583597e4f52985b9747269e47b754e2 (patch) | |
tree | 65bb598457542a0de30c60646173679c5ea42557 /conform/data/pthread.h-data | |
parent | c20105c398036c4fbeb99f8480ab84077a0f6f2c (diff) | |
download | glibc-4efeffc1d583597e4f52985b9747269e47b754e2.tar glibc-4efeffc1d583597e4f52985b9747269e47b754e2.tar.gz glibc-4efeffc1d583597e4f52985b9747269e47b754e2.tar.bz2 glibc-4efeffc1d583597e4f52985b9747269e47b754e2.zip |
Fix up POSIX testing in conformtest
Diffstat (limited to 'conform/data/pthread.h-data')
-rw-r--r-- | conform/data/pthread.h-data | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/conform/data/pthread.h-data b/conform/data/pthread.h-data index bf25902127..4af4d05b5b 100644 --- a/conform/data/pthread.h-data +++ b/conform/data/pthread.h-data @@ -48,10 +48,6 @@ type pthread_spinlock_t # endif type pthread_t -#ifdef POSIX -# define sigset_t __sigset_t -#endif - function int pthread_attr_destroy (pthread_attr_t*) function int pthread_attr_getdetachstate (const pthread_attr_t*, int*) # ifndef POSIX @@ -95,10 +91,14 @@ function int pthread_cond_signal (pthread_cond_t*) function int pthread_cond_timedwait (pthread_cond_t*, pthread_mutex_t*, const struct timespec*) function int pthread_cond_wait (pthread_cond_t*, pthread_mutex_t*) function int pthread_condattr_destroy (pthread_condattr_t*) +#if !defined POSIX && !defined UNIX98 && !defined XOPEN2K optional-function int pthread_condattr_getclock (const pthread_condattr_t*, clockid_t*) +#endif function int pthread_condattr_getpshared (const pthread_condattr_t*, int*) function int pthread_condattr_init (pthread_condattr_t*) +#if !defined POSIX && !defined UNIX98 && !defined XOPEN2K optional-function int pthread_condattr_setclock (pthread_condattr_t*, clockid_t) +#endif function int pthread_condattr_setpshared (pthread_condattr_t*, int) function int pthread_create (pthread_t*, const pthread_attr_t*, void *(*) (void*), void*) function int pthread_detach (pthread_t) @@ -162,7 +162,7 @@ function int pthread_setconcurrency (int) # endif function int pthread_setschedparam (pthread_t, int, const struct sched_param*) function int pthread_setspecific (pthread_key_t, const void*) -# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008 +# if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008 function int pthread_sigmask (int, const sigset_t*, sigset_t*) # endif # if !defined POSIX |