diff options
author | deischen <deischen@FreeBSD.org> | 2002-11-13 18:13:26 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2002-11-13 18:13:26 +0000 |
commit | 524a6c841c467da890061cbdc2ace08d30e6e780 (patch) | |
tree | 666eecc4a4a3cc9346ca8828770bb7ef3723e4b2 /lib/libc_r/uthread/uthread_pselect.c | |
parent | bf8788517dc3dbb62a46b61b9a2e31a4ba2d3dd4 (diff) | |
download | FreeBSD-src-524a6c841c467da890061cbdc2ace08d30e6e780.zip FreeBSD-src-524a6c841c467da890061cbdc2ace08d30e6e780.tar.gz |
At initialization, override the pthread stub routines in libc
by filling in the jump table.
Convert uses of pthread routines within libc_r to use the internal
versions (_pthread_foo instead of pthread_foo).
Remove a couple of globals from application namespace.
Diffstat (limited to 'lib/libc_r/uthread/uthread_pselect.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_pselect.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_pselect.c b/lib/libc_r/uthread/uthread_pselect.c index 5a3d378..9848863 100644 --- a/lib/libc_r/uthread/uthread_pselect.c +++ b/lib/libc_r/uthread/uthread_pselect.c @@ -40,8 +40,10 @@ __FBSDID("$FreeBSD$"); extern int __pselect(int count, fd_set *rfds, fd_set *wfds, fd_set *efds, const struct timespec *timo, const sigset_t *mask); +__weak_reference(_pselect, pselect); + int -pselect(int count, fd_set *rfds, fd_set *wfds, fd_set *efds, +_pselect(int count, fd_set *rfds, fd_set *wfds, fd_set *efds, const struct timespec *timo, const sigset_t *mask) { int ret; |