summaryrefslogtreecommitdiff
path: root/include/elf.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-07-03 16:19:28 -0400
committerRich Felker <dalias@aerifal.cx>2016-07-03 16:19:28 -0400
commitee3f0c551669ca1c61abac0888f93a27b0b17856 (patch)
tree265179f58812804155d431018cb7453592e78228 /include/elf.h
parent3c3b09980d792ea8393f0a3865735b2ff5ecc765 (diff)
downloadmusl-ee3f0c551669ca1c61abac0888f93a27b0b17856.tar.gz
musl-ee3f0c551669ca1c61abac0888f93a27b0b17856.tar.bz2
musl-ee3f0c551669ca1c61abac0888f93a27b0b17856.tar.xz
musl-ee3f0c551669ca1c61abac0888f93a27b0b17856.zip
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.
Diffstat (limited to 'include/elf.h')
-rw-r--r--include/elf.h18
1 files changed, 6 insertions, 12 deletions
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;