aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sigaction.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-02 10:18:54 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-02 10:18:54 +0000
commit13632cfc66bb9a1b55f3b6077b3f84d3de131c87 (patch)
tree3108cef1d269206b5ba598e42d34b190c11351ab /sysdeps/unix/sysv/linux/sigaction.c
parent8e55f537ed8a5dd38e36f850c2195fa4625309e5 (diff)
downloadglibc-13632cfc66bb9a1b55f3b6077b3f84d3de131c87.tar
glibc-13632cfc66bb9a1b55f3b6077b3f84d3de131c87.tar.gz
glibc-13632cfc66bb9a1b55f3b6077b3f84d3de131c87.tar.bz2
glibc-13632cfc66bb9a1b55f3b6077b3f84d3de131c87.zip
Update.
1999-06-01 Ulrich Drepper <drepper@cygnus.com> * manual/llio.texi: Remove menu entry for removed section. 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused variables. 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it (from Linux 2.3.4).
Diffstat (limited to 'sysdeps/unix/sysv/linux/sigaction.c')
-rw-r--r--sysdeps/unix/sysv/linux/sigaction.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/sigaction.c b/sysdeps/unix/sysv/linux/sigaction.c
index 40f9bbc252..dc46bb1b5b 100644
--- a/sysdeps/unix/sysv/linux/sigaction.c
+++ b/sysdeps/unix/sysv/linux/sigaction.c
@@ -37,9 +37,6 @@ int __libc_missing_rt_sigs;
extern int __syscall_sigaction (int, const struct old_kernel_sigaction *,
struct old_kernel_sigaction *);
-# define rtsignals_guaranteed 0
-#else
-# define rtsignals_guaranteed 1
#endif
extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *,
struct kernel_sigaction *, size_t);
@@ -53,10 +50,12 @@ __sigaction (sig, act, oact)
const struct sigaction *act;
struct sigaction *oact;
{
+#if __ASSUME_REALTIME_SIGNALS == 0
struct old_kernel_sigaction k_sigact, k_osigact;
+#endif
int result;
-#if defiend __NR_rt_sigaction || __ASSUME_REALTIME_SIGNALS > 0
+#if defined __NR_rt_sigaction || __ASSUME_REALTIME_SIGNALS > 0
/* First try the RT signals. */
# if __ASSUME_REALTIME_SIGNALS == 0
if (!__libc_missing_rt_sigs)