blob: 59f422048de1ddc68191499a92c2ce12cd7b9801 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
---
usr/include/arch/ppc/klibc/archsignal.h | 6 ++++++
usr/include/arch/sparc/klibc/archsignal.h | 7 -------
2 files changed, 6 insertions(+), 7 deletions(-)
--- a/usr/include/arch/ppc/klibc/archsignal.h
+++ b/usr/include/arch/ppc/klibc/archsignal.h
@@ -8,7 +8,13 @@
#ifndef _KLIBC_ARCHSIGNAL_H
#define _KLIBC_ARCHSIGNAL_H
+#ifdef _SIGNAL_H
+#undef _SIGNAL_H
#include <asm/signal.h>
+#define _SIGNAL_H
+#else
+#include <asm/signal.h>
+#endif
/* No special stuff for this architecture */
#endif
--- a/usr/include/arch/sparc/klibc/archsignal.h
+++ b/usr/include/arch/sparc/klibc/archsignal.h
@@ -11,13 +11,6 @@
#define __WANT_POSIX1B_SIGNALS__
#include <asm/signal.h>
-struct sigaction {
- __sighandler_t sa_handler;
- unsigned long sa_flags;
- void (*sa_restorer)(void); /* Not used by Linux/SPARC */
- sigset_t sa_mask;
-};
-
/* Not actually used by the kernel... */
#define SA_RESTORER 0x80000000
|