summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/signal.h8
-rw-r--r--signal/sigempty.c3
-rw-r--r--signal/sigfillset.c3
-rw-r--r--signal/sigismem.c3
-rw-r--r--sysdeps/generic/sigpause.c4
-rw-r--r--sysdeps/posix/sigpause.c4
-rw-r--r--sysdeps/unix/bsd/osf/alpha/sigpause.S3
7 files changed, 20 insertions, 8 deletions
diff --git a/include/signal.h b/include/signal.h
index c2f72fac76..b0552e42d2 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -4,6 +4,14 @@
#else
# include <signal/signal.h>
+libc_hidden_proto (raise)
+libc_hidden_proto (sigemptyset)
+libc_hidden_proto (sigfillset)
+libc_hidden_proto (sigismember)
+libc_hidden_proto (__sigpause)
+libc_hidden_proto (__libc_current_sigrtmin)
+libc_hidden_proto (__libc_current_sigrtmax)
+
/* Now define the internal interfaces. */
extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler);
extern int __kill (__pid_t __pid, int __sig);
diff --git a/signal/sigempty.c b/signal/sigempty.c
index 0164ed3829..dda035d197 100644
--- a/signal/sigempty.c
+++ b/signal/sigempty.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991,96,97,2002 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
@@ -35,3 +35,4 @@ sigemptyset (set)
return 0;
}
+libc_hidden_def (sigemptyset)
diff --git a/signal/sigfillset.c b/signal/sigfillset.c
index 3126774cdf..594770105f 100644
--- a/signal/sigfillset.c
+++ b/signal/sigfillset.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991,96,97,2002 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
@@ -35,3 +35,4 @@ sigfillset (set)
return 0;
}
+libc_hidden_def (sigfillset)
diff --git a/signal/sigismem.c b/signal/sigismem.c
index 0a5d6b625c..e18a3b14b7 100644
--- a/signal/sigismem.c
+++ b/signal/sigismem.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1991,96,2002 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
@@ -32,3 +32,4 @@ sigismember (set, signo)
return __sigismember (set, signo);
}
+libc_hidden_def (sigismember)
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)