projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdfa4c9
)
um: fix build failure due to mess-up of sig_info protorype
author
Sergei Trofimovich
<
[email protected]
>
Sat, 29 Dec 2012 22:37:31 +0000
(
01:37
+0300)
committer
Richard Weinberger
<
[email protected]
>
Mon, 11 Mar 2013 09:08:03 +0000
(10:08 +0100)
arch/um/os-Linux/signal.c:18:8: error: conflicting types for 'sig_info'
In file included from /home/slyfox/linux-2.6/arch/um/os-Linux/signal.c:12:0:
arch/um/include/shared/as-layout.h:64:15: note: previous declaration of 'sig_info' was here
Signed-off-by: Sergei Trofimovich <
[email protected]
>
CC: Jeff Dike <
[email protected]
>
CC: Richard Weinberger <
[email protected]
>
CC: "Martin Pärtel" <
[email protected]
>
CC: Al Viro <
[email protected]
>
CC:
[email protected]
CC:
[email protected]
CC:
[email protected]
Signed-off-by: Richard Weinberger <
[email protected]
>
arch/um/os-Linux/signal.c
patch
|
blob
|
history
diff --git
a/arch/um/os-Linux/signal.c
b/arch/um/os-Linux/signal.c
index b1469fe9329564dac95f1fc5b6320f0ed56ea31b..9d9f1b4bf8269d89af35a08b5e24064337a410e4 100644
(file)
--- a/
arch/um/os-Linux/signal.c
+++ b/
arch/um/os-Linux/signal.c
@@
-15,7
+15,7
@@
#include <sysdep/mcontext.h>
#include "internal.h"
-void (*sig_info[NSIG])(int, s
iginfo_t
*, struct uml_pt_regs *) = {
+void (*sig_info[NSIG])(int, s
truct siginfo
*, struct uml_pt_regs *) = {
[SIGTRAP] = relay_signal,
[SIGFPE] = relay_signal,
[SIGILL] = relay_signal,