* 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.
This commit is contained in:
Roland McGrath 2002-08-11 22:06:06 +00:00
parent f4c16ceedd
commit a83f1ae4c8
6 changed files with 10 additions and 7 deletions

View File

@ -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>

View File

@ -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);

1
include/sys/errno.h Normal file
View File

@ -0,0 +1 @@
#include <stdlib/sys/errno.h>

View File

@ -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

View File

@ -27,7 +27,6 @@ raise (sig)
__set_errno (ENOSYS);
return -1;
}
libc_hidden_def (raise)
weak_alias (raise, gsignal)
stub_warning (raise)

View File

@ -26,5 +26,4 @@ raise (sig)
{
return __kill (__getpid (), sig);
}
libc_hidden_def (raise)
weak_alias (raise, gsignal)