Skip to content

Commit

Permalink
um: fix build failure due to mess-up of sig_info protorype
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Sergei Trofimovich authored and richardweinberger committed Mar 11, 2013
1 parent fdfa4c9 commit 72383d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/um/os-Linux/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <sysdep/mcontext.h>
#include "internal.h"

void (*sig_info[NSIG])(int, siginfo_t *, struct uml_pt_regs *) = {
void (*sig_info[NSIG])(int, struct siginfo *, struct uml_pt_regs *) = {
[SIGTRAP] = relay_signal,
[SIGFPE] = relay_signal,
[SIGILL] = relay_signal,
Expand Down

0 comments on commit 72383d4

Please sign in to comment.