From ee3f0c551669ca1c61abac0888f93a27b0b17856 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 3 Jul 2016 16:19:28 -0400 Subject: make brace placement in public header typedef'd structs consistent commit befa5866ee30d09c0c96e88af2eabff5911342ea performed this change for struct definitions that did not also involve typedef, but omitted the latter. --- include/elf.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'include/elf.h') diff --git a/include/elf.h b/include/elf.h index 8ecf965a..0721d63f 100644 --- a/include/elf.h +++ b/include/elf.h @@ -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; -- cgit v1.2.1