diff options
author | jasone <jasone@FreeBSD.org> | 2000-01-29 22:53:55 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-01-29 22:53:55 +0000 |
commit | c339e807ccf7499f42704f48c2e0224872751db2 (patch) | |
tree | 61e116998f138e3887e2ec1f32e12050049277cc /lib/libpthread/thread | |
parent | df12fb7fd7bee2fff080c5de348a3cd2ade97659 (diff) | |
download | FreeBSD-src-c339e807ccf7499f42704f48c2e0224872751db2.zip FreeBSD-src-c339e807ccf7499f42704f48c2e0224872751db2.tar.gz |
Use __strong_reference() instead of __weak_reference() to assure that the
weak symbols of the same name are not used.
Diffstat (limited to 'lib/libpthread/thread')
-rw-r--r-- | lib/libpthread/thread/thr_aio_suspend.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_exit.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_fork.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_poll.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_readv.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_select.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_sigaction.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_sigpending.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_sigprocmask.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_wait4.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_writev.c | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/lib/libpthread/thread/thr_aio_suspend.c b/lib/libpthread/thread/thr_aio_suspend.c index 3bc373a..5940282 100644 --- a/lib/libpthread/thread/thr_aio_suspend.c +++ b/lib/libpthread/thread/thr_aio_suspend.c @@ -47,5 +47,5 @@ _aio_suspend(const struct aiocb * const iocbs[], int niocb, const struct return ret; } -__weak_reference(_aio_suspend, aio_suspend); +__strong_reference(_aio_suspend, aio_suspend); #endif diff --git a/lib/libpthread/thread/thr_exit.c b/lib/libpthread/thread/thr_exit.c index 22e2ce8..0d22638 100644 --- a/lib/libpthread/thread/thr_exit.c +++ b/lib/libpthread/thread/thr_exit.c @@ -77,7 +77,7 @@ void __exit(int status) _thread_sys__exit(status); } -__weak_reference(__exit, _exit); +__strong_reference(__exit, _exit); void _thread_exit(char *fname, int lineno, char *string) diff --git a/lib/libpthread/thread/thr_fork.c b/lib/libpthread/thread/thr_fork.c index 88f1c43..a8e85d8 100644 --- a/lib/libpthread/thread/thr_fork.c +++ b/lib/libpthread/thread/thr_fork.c @@ -221,5 +221,5 @@ _fork(void) return (ret); } -__weak_reference(_fork, fork); +__strong_reference(_fork, fork); #endif diff --git a/lib/libpthread/thread/thr_poll.c b/lib/libpthread/thread/thr_poll.c index d395250..3717273 100644 --- a/lib/libpthread/thread/thr_poll.c +++ b/lib/libpthread/thread/thr_poll.c @@ -97,5 +97,5 @@ _poll(struct pollfd *fds, unsigned int nfds, int timeout) return (ret); } -__weak_reference(_poll, poll); +__strong_reference(_poll, poll); #endif diff --git a/lib/libpthread/thread/thr_readv.c b/lib/libpthread/thread/thr_readv.c index 2c66a98..d8e02c0 100644 --- a/lib/libpthread/thread/thr_readv.c +++ b/lib/libpthread/thread/thr_readv.c @@ -91,5 +91,5 @@ _readv(int fd, const struct iovec * iov, int iovcnt) return (ret); } -__weak_reference(_readv, readv); +__strong_reference(_readv, readv); #endif diff --git a/lib/libpthread/thread/thr_select.c b/lib/libpthread/thread/thr_select.c index d0e61e2..0a7c0d4 100644 --- a/lib/libpthread/thread/thr_select.c +++ b/lib/libpthread/thread/thr_select.c @@ -204,5 +204,5 @@ _select(int numfds, fd_set * readfds, fd_set * writefds, fd_set * exceptfds, return (ret); } -__weak_reference(_select, select); +__strong_reference(_select, select); #endif diff --git a/lib/libpthread/thread/thr_sigaction.c b/lib/libpthread/thread/thr_sigaction.c index e0aa523..319999b 100644 --- a/lib/libpthread/thread/thr_sigaction.c +++ b/lib/libpthread/thread/thr_sigaction.c @@ -106,5 +106,5 @@ _sigaction(int sig, const struct sigaction * act, struct sigaction * oact) return (ret); } -__weak_reference(_sigaction, sigaction); +__strong_reference(_sigaction, sigaction); #endif diff --git a/lib/libpthread/thread/thr_sigpending.c b/lib/libpthread/thread/thr_sigpending.c index a630f0c..a118347 100644 --- a/lib/libpthread/thread/thr_sigpending.c +++ b/lib/libpthread/thread/thr_sigpending.c @@ -54,5 +54,5 @@ _sigpending(sigset_t * set) return (ret); } -__weak_reference(_sigpending, sigpending); +__strong_reference(_sigpending, sigpending); #endif diff --git a/lib/libpthread/thread/thr_sigprocmask.c b/lib/libpthread/thread/thr_sigprocmask.c index b10089c..6addb4a 100644 --- a/lib/libpthread/thread/thr_sigprocmask.c +++ b/lib/libpthread/thread/thr_sigprocmask.c @@ -90,5 +90,5 @@ _sigprocmask(int how, const sigset_t * set, sigset_t * oset) return (ret); } -__weak_reference(_sigprocmask, sigprocmask); +__strong_reference(_sigprocmask, sigprocmask); #endif diff --git a/lib/libpthread/thread/thr_wait4.c b/lib/libpthread/thread/thr_wait4.c index 90eb0ab..083c230 100644 --- a/lib/libpthread/thread/thr_wait4.c +++ b/lib/libpthread/thread/thr_wait4.c @@ -65,5 +65,5 @@ _wait4(pid_t pid, int *istat, int options, struct rusage * rusage) return (ret); } -__weak_reference(_wait4, wait4); +__strong_reference(_wait4, wait4); #endif diff --git a/lib/libpthread/thread/thr_writev.c b/lib/libpthread/thread/thr_writev.c index 7c5fffe..5f31468 100644 --- a/lib/libpthread/thread/thr_writev.c +++ b/lib/libpthread/thread/thr_writev.c @@ -201,5 +201,5 @@ _writev(int fd, const struct iovec * iov, int iovcnt) return (ret); } -__weak_reference(_writev, writev); +__strong_reference(_writev, writev); #endif |