diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-02 22:26:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-04 08:06:25 -0500 |
commit | fd2c3ef761fbc5e6c27fa7d40b30cda06bfcd7d8 (patch) | |
tree | 25922196160e9d5be8aa2a473ce981756926390f /include/net/dn_dev.h | |
parent | 4b7673a04a16f1d8faf1e367ae28a6ee1671843d (diff) |
net: cleanup include/net
This cleanup patch puts struct/union/enum opening braces,
in first line to ease grep games.
struct something
{
becomes :
struct something {
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dn_dev.h')
-rw-r--r-- | include/net/dn_dev.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/net/dn_dev.h b/include/net/dn_dev.h index cee46821dc53..28966cae3fd7 100644 --- a/include/net/dn_dev.h +++ b/include/net/dn_dev.h | |||
@@ -97,16 +97,14 @@ struct dn_dev { | |||
97 | unsigned long uptime; /* Time device went up in jiffies */ | 97 | unsigned long uptime; /* Time device went up in jiffies */ |
98 | }; | 98 | }; |
99 | 99 | ||
100 | struct dn_short_packet | 100 | struct dn_short_packet { |
101 | { | ||
102 | __u8 msgflg; | 101 | __u8 msgflg; |
103 | __le16 dstnode; | 102 | __le16 dstnode; |
104 | __le16 srcnode; | 103 | __le16 srcnode; |
105 | __u8 forward; | 104 | __u8 forward; |
106 | } __attribute__((packed)); | 105 | } __attribute__((packed)); |
107 | 106 | ||
108 | struct dn_long_packet | 107 | struct dn_long_packet { |
109 | { | ||
110 | __u8 msgflg; | 108 | __u8 msgflg; |
111 | __u8 d_area; | 109 | __u8 d_area; |
112 | __u8 d_subarea; | 110 | __u8 d_subarea; |
@@ -122,8 +120,7 @@ struct dn_long_packet | |||
122 | 120 | ||
123 | /*------------------------- DRP - Routing messages ---------------------*/ | 121 | /*------------------------- DRP - Routing messages ---------------------*/ |
124 | 122 | ||
125 | struct endnode_hello_message | 123 | struct endnode_hello_message { |
126 | { | ||
127 | __u8 msgflg; | 124 | __u8 msgflg; |
128 | __u8 tiver[3]; | 125 | __u8 tiver[3]; |
129 | __u8 id[6]; | 126 | __u8 id[6]; |
@@ -138,8 +135,7 @@ struct endnode_hello_message | |||
138 | __u8 data[2]; | 135 | __u8 data[2]; |
139 | } __attribute__((packed)); | 136 | } __attribute__((packed)); |
140 | 137 | ||
141 | struct rtnode_hello_message | 138 | struct rtnode_hello_message { |
142 | { | ||
143 | __u8 msgflg; | 139 | __u8 msgflg; |
144 | __u8 tiver[3]; | 140 | __u8 tiver[3]; |
145 | __u8 id[6]; | 141 | __u8 id[6]; |