fix use of incomplete struct type in s390x user.h

This commit is contained in:
Bobby Bingham 2016-11-14 21:37:42 -06:00 committed by Rich Felker
parent afefce19fd
commit 3f79eaa870
1 changed files with 10 additions and 10 deletions

View File

@ -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;