diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2002-04-15 23:11:38 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-04-15 23:11:38 +0000 |
| commit | 07a7a2eba8a938d4256324b874043ecd4af511fa (patch) | |
| tree | 780730c8eb5c74941142fedf64ffe5b69f3ff8c1 | |
| parent | 355670482e3b3f8149fe1181fda9785ea644806d (diff) | |
Notes
| -rw-r--r-- | lib/libc_r/uthread/uthread_cap_get_fd.c | 2 | ||||
| -rw-r--r-- | lib/libc_r/uthread/uthread_cap_set_fd.c | 2 | ||||
| -rw-r--r-- | lib/libc_r/uthread/uthread_main_np.c | 3 | ||||
| -rw-r--r-- | lib/libkse/thread/thr_main_np.c | 3 | ||||
| -rw-r--r-- | lib/libpthread/thread/thr_main_np.c | 3 |
5 files changed, 8 insertions, 5 deletions
diff --git a/lib/libc_r/uthread/uthread_cap_get_fd.c b/lib/libc_r/uthread/uthread_cap_get_fd.c index 7d429175e9e5..0f0b3e35be0f 100644 --- a/lib/libc_r/uthread/uthread_cap_get_fd.c +++ b/lib/libc_r/uthread/uthread_cap_get_fd.c @@ -31,7 +31,7 @@ #include <pthread.h> #include "pthread_private.h" -#pragma weak __cap_get_fd=___cap_get_fd +__weak_reference(___cap_get_fd, __cap_get_fd); int ___cap_get_fd(int fd, struct cap *cap_p) diff --git a/lib/libc_r/uthread/uthread_cap_set_fd.c b/lib/libc_r/uthread/uthread_cap_set_fd.c index e911b6bfd292..5a8b668b1363 100644 --- a/lib/libc_r/uthread/uthread_cap_set_fd.c +++ b/lib/libc_r/uthread/uthread_cap_set_fd.c @@ -31,7 +31,7 @@ #include <pthread.h> #include "pthread_private.h" -#pragma weak __cap_set_fd=___cap_set_fd +__weak_reference(___cap_set_fd, __cap_set_fd); int ___cap_set_fd(int fd, cap_t cap_p) diff --git a/lib/libc_r/uthread/uthread_main_np.c b/lib/libc_r/uthread/uthread_main_np.c index 6ae7d1e2489a..54c20180df57 100644 --- a/lib/libc_r/uthread/uthread_main_np.c +++ b/lib/libc_r/uthread/uthread_main_np.c @@ -31,10 +31,11 @@ #include <pthread_np.h> #include "pthread_private.h" +__weak_reference(_pthread_main_np, pthread_main_np); + /* * Provide the equivelant to Solaris thr_main() function */ -#pragma weak pthread_main_np=_pthread_main_np int _pthread_main_np() { diff --git a/lib/libkse/thread/thr_main_np.c b/lib/libkse/thread/thr_main_np.c index 6ae7d1e2489a..54c20180df57 100644 --- a/lib/libkse/thread/thr_main_np.c +++ b/lib/libkse/thread/thr_main_np.c @@ -31,10 +31,11 @@ #include <pthread_np.h> #include "pthread_private.h" +__weak_reference(_pthread_main_np, pthread_main_np); + /* * Provide the equivelant to Solaris thr_main() function */ -#pragma weak pthread_main_np=_pthread_main_np int _pthread_main_np() { diff --git a/lib/libpthread/thread/thr_main_np.c b/lib/libpthread/thread/thr_main_np.c index 6ae7d1e2489a..54c20180df57 100644 --- a/lib/libpthread/thread/thr_main_np.c +++ b/lib/libpthread/thread/thr_main_np.c @@ -31,10 +31,11 @@ #include <pthread_np.h> #include "pthread_private.h" +__weak_reference(_pthread_main_np, pthread_main_np); + /* * Provide the equivelant to Solaris thr_main() function */ -#pragma weak pthread_main_np=_pthread_main_np int _pthread_main_np() { |
