From 4b4a2e733a2332d82db33d43f90c3e14fb0ff31e Mon Sep 17 00:00:00 2001 From: jasone Date: Wed, 12 Jan 2000 09:28:58 +0000 Subject: Track libc's three-tier symbol naming. libc_r must currently implement the _libc_*() entry points and add *() weak aliases. This will all change for the better when libc_r becomes libpthread. --- lib/libpthread/thread/thr_sigprocmask.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libpthread/thread/thr_sigprocmask.c') diff --git a/lib/libpthread/thread/thr_sigprocmask.c b/lib/libpthread/thread/thr_sigprocmask.c index 592a61e..28ab4fa 100644 --- a/lib/libpthread/thread/thr_sigprocmask.c +++ b/lib/libpthread/thread/thr_sigprocmask.c @@ -41,7 +41,7 @@ #include "pthread_private.h" int -sigprocmask(int how, const sigset_t * set, sigset_t * oset) +_libc_sigprocmask(int how, const sigset_t * set, sigset_t * oset) { int ret = 0; @@ -89,4 +89,6 @@ sigprocmask(int how, const sigset_t * set, sigset_t * oset) /* Return the completion status: */ return (ret); } + +__weak_reference(_libc_sigprocmask, sigprocmask); #endif -- cgit v1.1