]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Sync with header files from other architectures.
authorUlrich Drepper <drepper@redhat.com>
Sat, 13 Nov 1999 18:01:36 +0000 (18:01 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 13 Nov 1999 18:01:36 +0000 (18:01 +0000)
sysdeps/unix/sysv/linux/sparc/bits/sigaction.h

index 0797a5cbf4f39988e5015a131cd0b1baaaa46382..69869e929cfe1079c3eb948432fa1eb72b6e81b8 100644 (file)
 struct sigaction
   {
     /* Signal handler.  */
+#ifdef __USE_POSIX199309
+    union
+      {
+       /* Used if SA_SIGINFO is not set.  */
+       __sighandler_t sa_handler;
+       /* Used if SA_SIGINFO is set.  */
+       void (*sa_sigaction) __PMT ((int, siginfo_t *, void *));
+      }
+    __sigaction_handler;
+# define sa_handler    __sigaction_handler.sa_handler
+# define sa_sigaction  __sigaction_handler.sa_sigaction
+#else
     __sighandler_t sa_handler;
+#endif
 
     /* Additional set of signals to be blocked.  */
     __sigset_t sa_mask;