make brace placement in public header typedef'd structs consistent
authorRich Felker <dalias@aerifal.cx>
Sun, 3 Jul 2016 20:19:28 +0000 (16:19 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 3 Jul 2016 20:19:28 +0000 (16:19 -0400)
commit befa5866ee30d09c0c96e88af2eabff5911342ea performed this change
for struct definitions that did not also involve typedef, but omitted
the latter.

arch/aarch64/bits/signal.h
arch/arm/bits/signal.h
arch/i386/bits/user.h
arch/microblaze/bits/signal.h
arch/mips/bits/signal.h
arch/powerpc64/bits/signal.h
arch/x32/bits/user.h
arch/x86_64/bits/user.h
include/elf.h
include/sys/select.h
include/wordexp.h

index ef07cc9..00fb5f3 100644 (file)
@@ -15,8 +15,7 @@ typedef struct {
        unsigned int fpsr;
        unsigned int fpcr;
 } fpregset_t;
-typedef struct sigcontext
-{
+typedef struct sigcontext {
        unsigned long fault_address;
        unsigned long regs[31];
        unsigned long sp, pc, pstate;
index 9d19eeb..3c78985 100644 (file)
@@ -8,8 +8,7 @@
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 typedef int greg_t, gregset_t[18];
-typedef struct sigcontext
-{
+typedef struct sigcontext {
        unsigned long trap_no, error_code, oldmask;
        unsigned long arm_r0, arm_r1, arm_r2, arm_r3;
        unsigned long arm_r4, arm_r5, arm_r6, arm_r7;
index 2c556dd..0e34393 100644 (file)
@@ -1,13 +1,11 @@
 #undef __WORDSIZE
 #define __WORDSIZE 32
 
-typedef struct user_fpregs_struct
-{
+typedef struct user_fpregs_struct {
        long cwd, swd, twd, fip, fcs, foo, fos, st_space[20];
 } elf_fpregset_t;
 
-typedef struct user_fpxregs_struct
-{
+typedef struct user_fpxregs_struct {
        unsigned short cwd, swd, twd, fop;
        long fip, fcs, foo, fos, mxcsr, reserved;
        long st_space[32], xmm_space[32], padding[56];
index 4aa231a..490f83b 100644 (file)
@@ -8,8 +8,7 @@
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 typedef unsigned long greg_t, gregset_t[38];
-typedef struct sigcontext
-{
+typedef struct sigcontext {
        struct {
                unsigned long r0, r1, r2, r3, r4, r5, r6, r7;
                unsigned long r8, r9, r10, r11, r12, r13, r14, r15;
index db6f22d..1a84de5 100644 (file)
@@ -24,8 +24,7 @@ struct sigcontext {
        unsigned long long sc_mdhi, sc_mdlo;
        unsigned long sc_hi1, sc_lo1, sc_hi2, sc_lo2, sc_hi3, sc_lo3;
 };
-typedef struct
-{
+typedef struct {
        unsigned regmask, status;
        unsigned long long pc, gregs[32], fpregs[32];
        unsigned ownedfp, fpc_csr, fpc_eir, used_math, dsp;
index 45aeea0..34693a6 100644 (file)
@@ -23,8 +23,7 @@ typedef struct {
        unsigned _pad2[3];
 } vrregset_t;
 
-typedef struct sigcontext
-{
+typedef struct sigcontext {
        unsigned long _unused[4];
        int signal;
        int _pad0;
index a6edcd1..471bb19 100644 (file)
@@ -1,8 +1,7 @@
 #undef __WORDSIZE
 #define __WORDSIZE 64
 
-typedef struct user_fpregs_struct
-{
+typedef struct user_fpregs_struct {
        uint16_t cwd, swd, ftw, fop;
        uint64_t rip, rdp;
        uint32_t mxcsr, mxcr_mask;
index a6edcd1..471bb19 100644 (file)
@@ -1,8 +1,7 @@
 #undef __WORDSIZE
 #define __WORDSIZE 64
 
-typedef struct user_fpregs_struct
-{
+typedef struct user_fpregs_struct {
        uint16_t cwd, swd, ftw, fop;
        uint64_t rip, rdp;
        uint32_t mxcsr, mxcr_mask;
index 8ecf965..0721d63 100644 (file)
@@ -324,15 +324,13 @@ typedef struct {
 #define SHF_ORDERED         (1 << 30)
 #define SHF_EXCLUDE         (1U << 31)
 
-typedef struct
-{
+typedef struct {
   Elf32_Word   ch_type;
   Elf32_Word   ch_size;
   Elf32_Word   ch_addralign;
 } Elf32_Chdr;
 
-typedef struct
-{
+typedef struct {
   Elf64_Word   ch_type;
   Elf64_Word   ch_reserved;
   Elf64_Xword  ch_size;
@@ -434,8 +432,7 @@ typedef struct {
 
 
 
-typedef struct
-{
+typedef struct {
   Elf32_Addr   r_offset;
   Elf32_Word   r_info;
 } Elf32_Rel;
@@ -1513,8 +1510,7 @@ typedef struct {
 
 
 
-typedef struct
-{
+typedef struct {
   Elf32_Word l_name;
   Elf32_Word l_time_stamp;
   Elf32_Word l_checksum;
@@ -1522,8 +1518,7 @@ typedef struct
   Elf32_Word l_flags;
 } Elf32_Lib;
 
-typedef struct
-{
+typedef struct {
   Elf64_Word l_name;
   Elf64_Word l_time_stamp;
   Elf64_Word l_checksum;
@@ -1546,8 +1541,7 @@ typedef struct
 
 typedef Elf32_Addr Elf32_Conflict;
 
-typedef struct
-{
+typedef struct {
   Elf32_Half version;
   unsigned char isa_level;
   unsigned char isa_rev;
index e25257d..d34cbf1 100644 (file)
@@ -19,8 +19,7 @@ extern "C" {
 
 typedef unsigned long fd_mask;
 
-typedef struct
-{
+typedef struct {
        unsigned long fds_bits[FD_SETSIZE / 8 / sizeof(long)];
 } fd_set;
 
index d12081e..5460002 100644 (file)
@@ -18,8 +18,7 @@ extern "C" {
 #define WRDE_SHOWERR 16
 #define WRDE_UNDEF   32
 
-typedef struct
-{
+typedef struct {
        size_t we_wordc;
        char **we_wordv;
        size_t we_offs;