about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
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
parent8e55f537ed8a5dd38e36f850c2195fa4625309e5 (diff)
downloadglibc-13632cfc66bb9a1b55f3b6077b3f84d3de131c87.tar.gz
glibc-13632cfc66bb9a1b55f3b6077b3f84d3de131c87.tar.xz
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')
-rw-r--r--sysdeps/unix/sysv/linux/net/if_arp.h1
-rw-r--r--sysdeps/unix/sysv/linux/sigaction.c7
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/net/if_arp.h b/sysdeps/unix/sysv/linux/net/if_arp.h
index c4ac8e8400..25d65702cd 100644
--- a/sysdeps/unix/sysv/linux/net/if_arp.h
+++ b/sysdeps/unix/sysv/linux/net/if_arp.h
@@ -92,6 +92,7 @@ struct arphdr
 #define ARPHRD_PPP	512
 #define ARPHRD_HDLC	513		/* (Cisco) HDLC.  */
 #define ARPHRD_LAPB	516		/* LAPB.  */
+#define ARPHRD_DDCMP	517		/* Digital's DDCMP.  */
 
 #define ARPHRD_TUNNEL	768		/* IPIP tunnel.  */
 #define ARPHRD_TUNNEL6	769		/* IPIP6 tunnel.  */
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)