From: Rich Felker Date: Wed, 21 Nov 2012 18:51:14 +0000 (-0500) Subject: more ppc signal.h typedef order fixes X-Git-Tag: v0.9.8~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4860db9f5452f442833366a475910e34f117b579;p=oweals%2Fmusl.git more ppc signal.h typedef order fixes --- diff --git a/arch/powerpc/bits/signal.h b/arch/powerpc/bits/signal.h index 7be1028a..e66da6d4 100644 --- a/arch/powerpc/bits/signal.h +++ b/arch/powerpc/bits/signal.h @@ -5,19 +5,6 @@ typedef unsigned long gregset_t[48]; -struct sigcontext -{ - unsigned long _unused[4]; - int signal; - unsigned long handler; - unsigned long oldmask; - void *regs; - gregset_t gp_regs; - fpregset_t fp_regs; - vrregset_t *v_regs; - long vmx_reserve[33+33+32+1]; /* 33=34 for ppc64 */ -}; - typedef struct { double fpregs[32]; double fpscr; @@ -31,6 +18,19 @@ typedef struct { unsigned vscr; } vrregset_t; +struct sigcontext +{ + unsigned long _unused[4]; + int signal; + unsigned long handler; + unsigned long oldmask; + void *regs; + gregset_t gp_regs; + fpregset_t fp_regs; + vrregset_t *v_regs; + long vmx_reserve[33+33+32+1]; /* 33=34 for ppc64 */ +}; + typedef struct { gregset_t gregs; fpregset_t fpregs;