From 5a8478e83929b7f26e55f4245774ec63bba8c130 Mon Sep 17 00:00:00 2001 From: jasone Date: Sun, 20 Feb 2000 07:40:25 +0000 Subject: Do not conditionalize function prototype definition for functions we implement. Noticed by: Thimble Smith Approved by: jkh --- include/pthread.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/pthread.h') 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 *)); -- cgit v1.1