diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-03 03:26:03 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-04 13:06:25 (GMT) |
commit | fd2c3ef761fbc5e6c27fa7d40b30cda06bfcd7d8 (patch) | |
tree | 25922196160e9d5be8aa2a473ce981756926390f /include/net/dn_dev.h | |
parent | 4b7673a04a16f1d8faf1e367ae28a6ee1671843d (diff) | |
download | linux-fsl-qoriq-fd2c3ef761fbc5e6c27fa7d40b30cda06bfcd7d8.tar.xz |
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 cee4682..28966ca 100644 --- a/include/net/dn_dev.h +++ b/include/net/dn_dev.h @@ -97,16 +97,14 @@ struct dn_dev { unsigned long uptime; /* Time device went up in jiffies */ }; -struct dn_short_packet -{ +struct dn_short_packet { __u8 msgflg; __le16 dstnode; __le16 srcnode; __u8 forward; } __attribute__((packed)); -struct dn_long_packet -{ +struct dn_long_packet { __u8 msgflg; __u8 d_area; __u8 d_subarea; @@ -122,8 +120,7 @@ struct dn_long_packet /*------------------------- DRP - Routing messages ---------------------*/ -struct endnode_hello_message -{ +struct endnode_hello_message { __u8 msgflg; __u8 tiver[3]; __u8 id[6]; @@ -138,8 +135,7 @@ struct endnode_hello_message __u8 data[2]; } __attribute__((packed)); -struct rtnode_hello_message -{ +struct rtnode_hello_message { __u8 msgflg; __u8 tiver[3]; __u8 id[6]; |