aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-03 22:26:02 +0000
committerRoland McGrath <roland@gnu.org>2002-08-03 22:26:02 +0000
commit5841dad9e3379f74568d9650d4b28a0129715c61 (patch)
tree2db20cdcfcbc7be9506e0c6c537ed203f621292e /sysdeps
parent5b070c7513197cd8483fd90dfbc7ae8c8b3f91e1 (diff)
downloadglibc-5841dad9e3379f74568d9650d4b28a0129715c61.tar
glibc-5841dad9e3379f74568d9650d4b28a0129715c61.tar.gz
glibc-5841dad9e3379f74568d9650d4b28a0129715c61.tar.bz2
glibc-5841dad9e3379f74568d9650d4b28a0129715c61.zip
2002-08-03 Roland McGrath <roland@redhat.com>
* include/signal.h: Use libc_hidden_proto for raise, sigemptyset, sigfillset, sigismember, __sigpause, __libc_current_sigrtmin, and __libc_current_sigrtmax. * signal/sigismem.c: Add libc_hidden_def. * signal/sigfillset.c: Likewise. * signal/sigempty.c: Likewise. * sysdeps/generic/sigpause.c (__sigpause): Likewise. * sysdeps/posix/sigpause.c (__sigpause): Likewise. * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/sigpause.c4
-rw-r--r--sysdeps/posix/sigpause.c4
-rw-r--r--sysdeps/unix/bsd/osf/alpha/sigpause.S3
3 files changed, 6 insertions, 5 deletions
diff --git a/sysdeps/generic/sigpause.c b/sysdeps/generic/sigpause.c
index cbc5574f70..3906dbdfe6 100644
--- a/sysdeps/generic/sigpause.c
+++ b/sysdeps/generic/sigpause.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,95,96,2000,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -28,7 +28,7 @@ __sigpause (sig_or_mask, is_sig)
return -1;
}
stub_warning (__sigpause)
-
+libc_hidden_def (__sigpause)
int
__default_sigpause (int mask)
diff --git a/sysdeps/posix/sigpause.c b/sysdeps/posix/sigpause.c
index 1aaf0192ce..fc5f79e31e 100644
--- a/sysdeps/posix/sigpause.c
+++ b/sysdeps/posix/sigpause.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 1994-1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,94-98,2000,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -53,7 +53,7 @@ __sigpause (int sig_or_mask, int is_sig)
return __sigsuspend (&set);
}
-
+libc_hidden_def (__sigpause)
/* We have to provide a default version of this function since the
standards demand it. The version which is a bit more reasonable is
diff --git a/sysdeps/unix/bsd/osf/alpha/sigpause.S b/sysdeps/unix/bsd/osf/alpha/sigpause.S
index 021e6036e2..7646366473 100644
--- a/sysdeps/unix/bsd/osf/alpha/sigpause.S
+++ b/sysdeps/unix/bsd/osf/alpha/sigpause.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993,95,97,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
@@ -25,5 +25,6 @@
SYSCALL__ (sigpause, 1)
ret
.end __sigpause
+libc_hidden_def (__sigpause)
weak_alias (__sigpause, sigpause)