diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | include/signal.h | 3 | ||||
-rw-r--r-- | include/sys/errno.h | 1 | ||||
-rw-r--r-- | signal/allocrtsig.c | 2 | ||||
-rw-r--r-- | sysdeps/generic/raise.c | 1 | ||||
-rw-r--r-- | sysdeps/posix/raise.c | 1 |
6 files changed, 10 insertions, 7 deletions
@@ -1,5 +1,14 @@ 2002-08-11 Roland McGrath <roland@redhat.com> + * include/sys/errno.h: New file. + + * include/signal.h: No libc_hidden_proto for raise, + __libc_current_sigrtmin, __libc_current_sigrtmax. + These need to be overridden by linuxthreads. + * sysdeps/posix/raise.c: Reverted. + * sysdeps/generic/raise.c: Reverted. + * signal/allocrtsig.c: Reverted. + * locale/loadarchive.c (LOCALEDIR): Remove debugging defn. Oops. 2002-08-10 Roland McGrath <roland@redhat.com> diff --git a/include/signal.h b/include/signal.h index b0552e4..44bc720 100644 --- a/include/signal.h +++ b/include/signal.h @@ -4,13 +4,10 @@ #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); diff --git a/include/sys/errno.h b/include/sys/errno.h new file mode 100644 index 0000000..1b29efe --- /dev/null +++ b/include/sys/errno.h @@ -0,0 +1 @@ +#include <stdlib/sys/errno.h> diff --git a/signal/allocrtsig.c b/signal/allocrtsig.c index 1d5c1f3..fdf8a68 100644 --- a/signal/allocrtsig.c +++ b/signal/allocrtsig.c @@ -62,7 +62,6 @@ __libc_current_sigrtmin (void) #endif return current_rtmin; } -libc_hidden_def (__libc_current_sigrtmin) /* Return number of available real-time signal with lowest priority. */ int @@ -74,7 +73,6 @@ __libc_current_sigrtmax (void) #endif return current_rtmax; } -libc_hidden_def (__libc_current_sigrtmax) /* Allocate real-time signal with highest/lowest available priority. Please note that we don't use a lock since we assume diff --git a/sysdeps/generic/raise.c b/sysdeps/generic/raise.c index 0095e89..c5a449f 100644 --- a/sysdeps/generic/raise.c +++ b/sysdeps/generic/raise.c @@ -27,7 +27,6 @@ raise (sig) __set_errno (ENOSYS); return -1; } -libc_hidden_def (raise) weak_alias (raise, gsignal) stub_warning (raise) diff --git a/sysdeps/posix/raise.c b/sysdeps/posix/raise.c index c2fe12f..bde5e4b 100644 --- a/sysdeps/posix/raise.c +++ b/sysdeps/posix/raise.c @@ -26,5 +26,4 @@ raise (sig) { return __kill (__getpid (), sig); } -libc_hidden_def (raise) weak_alias (raise, gsignal) |