summaryrefslogtreecommitdiff
path: root/include
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
parent3c3b09980d792ea8393f0a3865735b2ff5ecc765 (diff)
downloadmusl-ee3f0c551669ca1c61abac0888f93a27b0b17856.tar.gz
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')
-rw-r--r--include/elf.h18
-rw-r--r--include/sys/select.h3
-rw-r--r--include/wordexp.h3
3 files changed, 8 insertions, 16 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;
diff --git a/include/sys/select.h b/include/sys/select.h
index e25257d2..d34cbf10 100644
--- a/include/sys/select.h
+++ b/include/sys/select.h
@@ -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;
diff --git a/include/wordexp.h b/include/wordexp.h
index d12081e8..5460002d 100644
--- a/include/wordexp.h
+++ b/include/wordexp.h
@@ -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;