diff options
author | des <des@FreeBSD.org> | 2006-03-28 18:48:49 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2006-03-28 18:48:49 +0000 |
commit | 04272f39a094a03e2639c1d752d0ccd3ffe20335 (patch) | |
tree | 3f3325dababe1d67a632dce62862ae24ad46d3f6 | |
parent | 46a2a98421ef1c9e876d7f2beeb9de726e552b9b (diff) | |
download | FreeBSD-src-04272f39a094a03e2639c1d752d0ccd3ffe20335.zip FreeBSD-src-04272f39a094a03e2639c1d752d0ccd3ffe20335.tar.gz |
Add semaphore functions, and remove some dupes from the #if 0 section.
-rw-r--r-- | lib/libc/include/namespace.h | 12 | ||||
-rw-r--r-- | lib/libc/include/un-namespace.h | 12 |
2 files changed, 20 insertions, 4 deletions
diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index 7573007..9ad181e 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -203,6 +203,16 @@ #define recvfrom _recvfrom #define recvmsg _recvmsg #define select _select +#define sem_close _sem_close +#define sem_destroy _sem_destroy +#define sem_getvalue _sem_getvalue +#define sem_init _sem_init +#define sem_open _sem_open +#define sem_post _sem_post +#define sem_timedwait _sem_timedwait +#define sem_trywait _sem_trywait +#define sem_unlink _sem_unlink +#define sem_wait _sem_wait #define sendmsg _sendmsg #define sendto _sendto #define setsockopt _setsockopt @@ -233,8 +243,6 @@ #define msync _msync #define nfssvc _nfssvc #define pause _pause -#define pthread_rwlockattr_init _pthread_rwlockattr_init -#define pthread_rwlockattr_destroy _pthread_rwlockattr_destroy #define sched_yield _sched_yield #define sendfile _sendfile #define shutdown _shutdown diff --git a/lib/libc/include/un-namespace.h b/lib/libc/include/un-namespace.h index c216290..ccdc2a1 100644 --- a/lib/libc/include/un-namespace.h +++ b/lib/libc/include/un-namespace.h @@ -184,6 +184,16 @@ #undef recvfrom #undef recvmsg #undef select +#undef sem_close +#undef sem_destroy +#undef sem_getvalue +#undef sem_init +#undef sem_open +#undef sem_post +#undef sem_timedwait +#undef sem_trywait +#undef sem_unlink +#undef sem_wait #undef sendmsg #undef sendto #undef setsockopt @@ -206,8 +216,6 @@ #undef msync #undef nfssvc #undef pause -#undef pthread_rwlockattr_init -#undef pthread_rwlockattr_destroy #undef sched_yield #undef sendfile #undef shutdown |