diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-08-19 21:31:42 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-08-19 21:31:42 +0000 |
commit | cb1c3eea784bed67621adba223b0549ec5730a77 (patch) | |
tree | 67c1a39113f2a15d17e7af116bbeebff1d3c81d4 /lib/libc_r/uthread/uthread_mutex.c | |
parent | 8c74153b9cf6f359400dccd1c0bd72eaf534567d (diff) | |
download | FreeBSD-src-cb1c3eea784bed67621adba223b0549ec5730a77.zip FreeBSD-src-cb1c3eea784bed67621adba223b0549ec5730a77.tar.gz |
- Prefix MUTEX_TYPE_MAX with PTHREAD_ to avoid namespace pollution.
- Remove the macros MUTEX_TYPE_FAST and MUTEX_TYPE_COUNTING_FAST.
OK'ed by: deischen
Diffstat (limited to 'lib/libc_r/uthread/uthread_mutex.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_mutex.c b/lib/libc_r/uthread/uthread_mutex.c index dc94d45..7c73868 100644 --- a/lib/libc_r/uthread/uthread_mutex.c +++ b/lib/libc_r/uthread/uthread_mutex.c @@ -144,7 +144,7 @@ _pthread_mutex_init(pthread_mutex_t * mutex, /* Check mutex type: */ else if (((*mutex_attr)->m_type < PTHREAD_MUTEX_ERRORCHECK) || - ((*mutex_attr)->m_type >= MUTEX_TYPE_MAX)) + ((*mutex_attr)->m_type >= PTHREAD_MUTEX_TYPE_MAX)) /* Return an invalid argument error: */ ret = EINVAL; |