diff --git a/include/lthread.h b/include/lthread.h index f6242faf866bfdbeeb9397091ba563fd50847e50..b97398dd0850ee51ae7b8c7340f6d1179ccce021 100644 --- a/include/lthread.h +++ b/include/lthread.h @@ -119,8 +119,6 @@ typedef void *(*VFP)(); #define PTHREAD_SHARE_PRIVATE USYNC_THREAD #define PTHREAD_SHARE_PROCESS USYNC_PROCESS - -#if !defined(__SunOS_5_6) /* thread attributes and thread type */ typedef int pthread_attr_t; typedef thread_t pthread_t; @@ -132,7 +130,6 @@ typedef mutex_t pthread_mutex_t; /* condition variable attributes and condition variable type */ typedef int pthread_condattr_t; typedef cond_t pthread_cond_t; -#endif /* ! sunos56 */ LDAP_END_DECL diff --git a/libraries/liblthread/thread.c b/libraries/liblthread/thread.c index 6c7cff541578593ffc96c41edcde3de3dac45714..cdf4414428709f5a0b9f03d16fba5ec738a3f4b9 100644 --- a/libraries/liblthread/thread.c +++ b/libraries/liblthread/thread.c @@ -180,7 +180,6 @@ pthread_cond_broadcast( pthread_cond_t *cv ) * * *******************/ -#if !defined(__SunOS_5_6) int pthread_attr_init( pthread_attr_t *attr ) { @@ -220,7 +219,6 @@ pthread_create( { return( thr_create( NULL, 0, func, arg, *attr, tid ) ); } -#endif /* ! sunos56 */ void pthread_yield( void ) @@ -228,7 +226,6 @@ pthread_yield( void ) thr_yield(); } -#if !defined(__SunOS_5_6) void pthread_exit() { @@ -307,7 +304,6 @@ pthread_cond_broadcast( pthread_cond_t *cv ) { return( cond_broadcast( cv ) ); } -#endif /* ! sunos56 */ #elif defined( HAVE_LWP )