diff options
author | des <des@FreeBSD.org> | 2008-02-06 20:42:35 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2008-02-06 20:42:35 +0000 |
commit | 0cd1685cafbe90eb6dcbf6ded70863c4dddc1089 (patch) | |
tree | 97b7a22ce09c911ddde45d4a415da398b1d05cf7 /lib/libc | |
parent | a735f997fd94385d405281134d9c00d45488b3c9 (diff) | |
download | FreeBSD-src-0cd1685cafbe90eb6dcbf6ded70863c4dddc1089.zip FreeBSD-src-0cd1685cafbe90eb6dcbf6ded70863c4dddc1089.tar.gz |
Add pthread_mutex_isowned_np() so there is no need for an additional
prototype next to the implementation.
MFC after: 2 weeks
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/include/namespace.h | 1 | ||||
-rw-r--r-- | lib/libc/include/un-namespace.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index 9ad181e..bb36f5c 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -143,6 +143,7 @@ #define pthread_mutex_destroy _pthread_mutex_destroy #define pthread_mutex_getprioceiling _pthread_mutex_getprioceiling #define pthread_mutex_init _pthread_mutex_init +#define pthread_mutex_isowned_np _pthread_mutex_isowned_np #define pthread_mutex_lock _pthread_mutex_lock #define pthread_mutex_setprioceiling _pthread_mutex_setprioceiling #define pthread_mutex_timedlock _pthread_mutex_timedlock diff --git a/lib/libc/include/un-namespace.h b/lib/libc/include/un-namespace.h index ccdc2a1..a3aa980 100644 --- a/lib/libc/include/un-namespace.h +++ b/lib/libc/include/un-namespace.h @@ -124,6 +124,7 @@ #undef pthread_mutex_destroy #undef pthread_mutex_getprioceiling #undef pthread_mutex_init +#undef pthread_mutex_isowned_np #undef pthread_mutex_lock #undef pthread_mutex_setprioceiling #undef pthread_mutex_timedlock |