mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
* 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:
parent
f4c16ceedd
commit
a83f1ae4c8
@ -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>
|
||||
|
@ -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
1
include/sys/errno.h
Normal file
@ -0,0 +1 @@
|
||||
#include <stdlib/sys/errno.h>
|
@ -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
|
||||
|
@ -27,7 +27,6 @@ raise (sig)
|
||||
__set_errno (ENOSYS);
|
||||
return -1;
|
||||
}
|
||||
libc_hidden_def (raise)
|
||||
weak_alias (raise, gsignal)
|
||||
|
||||
stub_warning (raise)
|
||||
|
@ -26,5 +26,4 @@ raise (sig)
|
||||
{
|
||||
return __kill (__getpid (), sig);
|
||||
}
|
||||
libc_hidden_def (raise)
|
||||
weak_alias (raise, gsignal)
|
||||
|
Loading…
Reference in New Issue
Block a user