fix incorrect type for new si_call_addr in siginfo_t
apparently the original kernel commit's i386 version of siginfo.h defined this field as unsigned int, but the asm-generic file always had void *. unsigned int is obviously not a suitable type for an address, in a non-arch-specific file, and glibc also has void * here, so I think void * is the right type for it. also fix redundant type specifiers.
This commit is contained in:
parent
3d4583c3fb
commit
a926fe26c1
1 changed files with 3 additions and 3 deletions
|
|
@ -108,16 +108,16 @@ typedef struct {
|
||||||
} __sigchld;
|
} __sigchld;
|
||||||
struct {
|
struct {
|
||||||
void *si_addr;
|
void *si_addr;
|
||||||
short int si_addr_lsb;
|
short si_addr_lsb;
|
||||||
} __sigfault;
|
} __sigfault;
|
||||||
struct {
|
struct {
|
||||||
long si_band;
|
long si_band;
|
||||||
int si_fd;
|
int si_fd;
|
||||||
} __sigpoll;
|
} __sigpoll;
|
||||||
struct {
|
struct {
|
||||||
unsigned int si_call_addr;
|
void *si_call_addr;
|
||||||
int si_syscall;
|
int si_syscall;
|
||||||
unsigned int si_arch;
|
unsigned si_arch;
|
||||||
} __sigsys;
|
} __sigsys;
|
||||||
} __si_fields;
|
} __si_fields;
|
||||||
} siginfo_t;
|
} siginfo_t;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue