diff options
| author | Raghu Gandham <raghu@mips.com> | 2012-04-23 18:59:41 -0700 |
|---|---|---|
| committer | Raghu Gandham <raghu@mips.com> | 2012-04-23 18:59:41 -0700 |
| commit | e328ce6c559f4d59c42690878c6381145c47d6d3 (patch) | |
| tree | c05cf8a628cadee7c09c00657cebe97e901634dd /libc/kernel/arch-mips/asm | |
| parent | 418e647a8300bb8e62b6b73814a5211152cbaacd (diff) | |
| download | android_bionic-e328ce6c559f4d59c42690878c6381145c47d6d3.tar.gz android_bionic-e328ce6c559f4d59c42690878c6381145c47d6d3.tar.bz2 android_bionic-e328ce6c559f4d59c42690878c6381145c47d6d3.zip | |
[MIPS] Fix the warning originating from the kernel header signal.h.
This is a clean header generated from the corresponding change in
external/kernel-headers repository. (CL 35760)
Diffstat (limited to 'libc/kernel/arch-mips/asm')
| -rw-r--r-- | libc/kernel/arch-mips/asm/signal.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libc/kernel/arch-mips/asm/signal.h b/libc/kernel/arch-mips/asm/signal.h index b51ad71cf..5f5ac7774 100644 --- a/libc/kernel/arch-mips/asm/signal.h +++ b/libc/kernel/arch-mips/asm/signal.h @@ -92,32 +92,33 @@ typedef unsigned long old_sigset_t; #define MINSIGSTKSZ 2048 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SIGSTKSZ 8192 +struct siginfo; #define SIG_BLOCK 1 #define SIG_UNBLOCK 2 -#define SIG_SETMASK 3 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SIG_SETMASK 3 #include <asm-generic/signal.h> struct sigaction { unsigned int sa_flags; - union { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + union { __sighandler_t sa_handler; void (*sa_sigaction) (int, struct siginfo *, void *); } __sigaction_handler; -#define sa_handler __sigaction_handler.sa_handler /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define sa_handler __sigaction_handler.sa_handler #define sa_sigaction __sigaction_handler.sa_sigaction sigset_t sa_mask; }; -struct k_sigaction { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +struct k_sigaction { struct sigaction sa; }; typedef struct sigaltstack { - void *ss_sp; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + void *ss_sp; size_t ss_size; int ss_flags; } stack_t; -#endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif |
