diff options
author | jasone <jasone@FreeBSD.org> | 2000-02-20 07:40:25 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-02-20 07:40:25 +0000 |
commit | 5a8478e83929b7f26e55f4245774ec63bba8c130 (patch) | |
tree | c0a8eb8b88b1f49a15c7b2914b1e3192ac151aa7 /include | |
parent | 73428f2e29abdd4ab292f3d2713ff3081c923721 (diff) | |
download | FreeBSD-src-5a8478e83929b7f26e55f4245774ec63bba8c130.zip FreeBSD-src-5a8478e83929b7f26e55f4245774ec63bba8c130.tar.gz |
Do not conditionalize function prototype definition for functions we
implement.
Noticed by: Thimble Smith <tim@mysql.com>
Approved by: jkh
Diffstat (limited to 'include')
-rw-r--r-- | include/pthread.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/pthread.h b/include/pthread.h index 8bf12cd..2c675bd 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -274,23 +274,18 @@ int pthread_mutexattr_setpshared __P((pthread_mutexattr_t *, int pshared)); #endif -#if defined(_POSIX_THREAD_PRIO_PROTECT) int pthread_mutexattr_getprioceiling __P((pthread_mutexattr_t *, int *)); int pthread_mutexattr_setprioceiling __P((pthread_mutexattr_t *, int)); int pthread_mutex_getprioceiling __P((pthread_mutex_t *, int *)); int pthread_mutex_setprioceiling __P((pthread_mutex_t *, int, int *)); -#endif -#if defined(_POSIX_THREAD_PRIO_PROTECT) || defined (_POSIX_THREAD_PRIO_INHERIT) int pthread_mutexattr_getprotocol __P((pthread_mutexattr_t *, int *)); int pthread_mutexattr_setprotocol __P((pthread_mutexattr_t *, int)); -#endif -#if defined(_POSIX_THREAD_PRIORITY_SCHEDULING) int pthread_attr_getinheritsched __P((const pthread_attr_t *, int *)); int pthread_attr_getschedparam __P((const pthread_attr_t *, struct sched_param *)); @@ -305,7 +300,6 @@ int pthread_getschedparam __P((pthread_t pthread, int *, struct sched_param *)); int pthread_setschedparam __P((pthread_t, int, const struct sched_param *)); -#endif int pthread_attr_setfloatstate __P((pthread_attr_t *, int)); int pthread_attr_getfloatstate __P((pthread_attr_t *, int *)); |