aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--include/signal.h3
-rw-r--r--include/sys/errno.h1
-rw-r--r--signal/allocrtsig.c2
-rw-r--r--sysdeps/generic/raise.c1
-rw-r--r--sysdeps/posix/raise.c1
6 files changed, 10 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 1918620a36..9d6d4a0816 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 b0552e42d2..44bc720aed 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 0000000000..1b29efe138
--- /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 1d5c1f3824..fdf8a6854a 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 0095e89d6f..c5a449f7bc 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 c2fe12fdaf..bde5e4bb0e 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)