<pthread.h>: Avoid namespace pollution.
authorzrj <rimvydas.jasinskas@gmail.com>
Thu, 22 Sep 2016 11:32:51 +0000 (14:32 +0300)
committerzrj <zrj@dragonflybsd.org>
Sat, 24 Sep 2016 06:45:32 +0000 (09:45 +0300)
commitb8ee06c5107dee10df13ec7ba547031ad69a844e
tree34bcfaa899cb463a33d577e7a56ed56bffeb4524
parent006484f46ed585c147535612082328dd40f40c28
<pthread.h>: Avoid namespace pollution.

Rename MUTEX_TYPE_MAX -> PTHREAD_MUTEX_TYPE_MAX to avoid clashes
with types in user source codes. Adjust all use cases.

While there, remove deprecated unused compat mutex types.
include/pthread.h
lib/libc_r/uthread/uthread_mattr_kind_np.c
lib/libc_r/uthread/uthread_mutex.c
lib/libthread_xu/thread/thr_mutex.c
lib/libthread_xu/thread/thr_mutexattr.c