From af0172162f7c653cad6a11ed1c1a5459bc154465 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 14 Jan 2006 00:58:03 +0000 Subject: hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed --- libc/signal/sigwait.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'libc/signal/sigwait.c') diff --git a/libc/signal/sigwait.c b/libc/signal/sigwait.c index 13d65ed5e..cd46d2dbe 100644 --- a/libc/signal/sigwait.c +++ b/libc/signal/sigwait.c @@ -18,14 +18,13 @@ * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA. */ -#define sigwaitinfo __sigwaitinfo - #include #include #include -#undef sigwait -int attribute_hidden __sigwait (const sigset_t *set, int *sig) +libc_hidden_proto(sigwaitinfo) + +int sigwait (const sigset_t *set, int *sig) { int ret = 1; if ((ret = sigwaitinfo(set, NULL)) != -1) { @@ -34,6 +33,5 @@ int attribute_hidden __sigwait (const sigset_t *set, int *sig) } return 1; } - -/* psm: keep this weak, because the one in libpthread.so could overwrite it */ -weak_alias(__sigwait, sigwait) +libc_hidden_proto(sigwait) +libc_hidden_def(sigwait) -- cgit v1.2.3