mirror of git://git.musl-libc.org/musl
fix use of incomplete struct type in s390x user.h
This commit is contained in:
parent
afefce19fd
commit
3f79eaa870
|
@ -23,16 +23,6 @@ struct _user_fpregs_struct {
|
||||||
double fprs[16];
|
double fprs[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _user_regs_struct {
|
|
||||||
struct _user_psw_struct psw;
|
|
||||||
unsigned long gprs[16];
|
|
||||||
unsigned acrs[16];
|
|
||||||
unsigned long orig_gpr2;
|
|
||||||
struct _user_fpregs_struct fp_regs;
|
|
||||||
struct _user_per_struct per_info;
|
|
||||||
unsigned long ieee_instruction_pointer;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _user_per_struct {
|
struct _user_per_struct {
|
||||||
unsigned long control_regs[3];
|
unsigned long control_regs[3];
|
||||||
unsigned single_step : 1;
|
unsigned single_step : 1;
|
||||||
|
@ -44,6 +34,16 @@ struct _user_per_struct {
|
||||||
unsigned char access_id;
|
unsigned char access_id;
|
||||||
} per_struct;
|
} per_struct;
|
||||||
|
|
||||||
|
struct _user_regs_struct {
|
||||||
|
struct _user_psw_struct psw;
|
||||||
|
unsigned long gprs[16];
|
||||||
|
unsigned acrs[16];
|
||||||
|
unsigned long orig_gpr2;
|
||||||
|
struct _user_fpregs_struct fp_regs;
|
||||||
|
struct _user_per_struct per_info;
|
||||||
|
unsigned long ieee_instruction_pointer;
|
||||||
|
};
|
||||||
|
|
||||||
struct user {
|
struct user {
|
||||||
struct _user_regs_struct regs;
|
struct _user_regs_struct regs;
|
||||||
unsigned long u_tsize, u_dsize, u_ssize;
|
unsigned long u_tsize, u_dsize, u_ssize;
|
||||||
|
|
Loading…
Reference in New Issue