diff options
Diffstat (limited to 'lib/libc_r/uthread/uthread_mattr_kind_np.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_mattr_kind_np.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/libc_r/uthread/uthread_mattr_kind_np.c b/lib/libc_r/uthread/uthread_mattr_kind_np.c index c145a1f899277..3eeabff038a73 100644 --- a/lib/libc_r/uthread/uthread_mattr_kind_np.c +++ b/lib/libc_r/uthread/uthread_mattr_kind_np.c @@ -61,18 +61,4 @@ pthread_mutexattr_getkind_np(pthread_mutexattr_t attr) } return(ret); } - -int -pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type) -{ - int ret; - if (attr == NULL || *attr == NULL || type >= MUTEX_TYPE_MAX) { - errno = EINVAL; - ret = -1; - } else { - (*attr)->m_type = type; - ret = 0; - } - return(ret); -} #endif |