diff options
| author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-04 12:50:58 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-11-04 12:50:58 -0500 |
| commit | d94d9fee9fa4e66a0b91640a694b8b10177075b3 (patch) | |
| tree | 330b2b19e63c92f1fef3d9dbe0733ddeb0109664 /include | |
| parent | b8883a65be2d925ea82b14ca0068ce9a6c8bac1f (diff) | |
net: cleanup include/linux
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')
87 files changed, 351 insertions, 694 deletions
diff --git a/include/linux/dn.h b/include/linux/dn.h index fe9990823193..9c50445462d9 100644 --- a/include/linux/dn.h +++ b/include/linux/dn.h | |||
| @@ -71,14 +71,12 @@ | |||
| 71 | /* Structures */ | 71 | /* Structures */ |
| 72 | 72 | ||
| 73 | 73 | ||
| 74 | struct dn_naddr | 74 | struct dn_naddr { |
| 75 | { | ||
| 76 | __le16 a_len; | 75 | __le16 a_len; |
| 77 | __u8 a_addr[DN_MAXADDL]; /* Two bytes little endian */ | 76 | __u8 a_addr[DN_MAXADDL]; /* Two bytes little endian */ |
| 78 | }; | 77 | }; |
| 79 | 78 | ||
| 80 | struct sockaddr_dn | 79 | struct sockaddr_dn { |
| 81 | { | ||
| 82 | __u16 sdn_family; | 80 | __u16 sdn_family; |
| 83 | __u8 sdn_flags; | 81 | __u8 sdn_flags; |
| 84 | __u8 sdn_objnum; | 82 | __u8 sdn_objnum; |
| @@ -101,8 +99,7 @@ struct optdata_dn { | |||
| 101 | __u8 opt_data[16]; /* User data */ | 99 | __u8 opt_data[16]; /* User data */ |
| 102 | }; | 100 | }; |
| 103 | 101 | ||
| 104 | struct accessdata_dn | 102 | struct accessdata_dn { |
| 105 | { | ||
| 106 | __u8 acc_accl; | 103 | __u8 acc_accl; |
| 107 | __u8 acc_acc[DN_MAXACCL]; | 104 | __u8 acc_acc[DN_MAXACCL]; |
| 108 | __u8 acc_passl; | 105 | __u8 acc_passl; |
diff --git a/include/linux/errqueue.h b/include/linux/errqueue.h index ec12cc74366f..034072cea853 100644 --- a/include/linux/errqueue.h +++ b/include/linux/errqueue.h | |||
| @@ -3,8 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
| 5 | 5 | ||
| 6 | struct sock_extended_err | 6 | struct sock_extended_err { |
| 7 | { | ||
| 8 | __u32 ee_errno; | 7 | __u32 ee_errno; |
| 9 | __u8 ee_origin; | 8 | __u8 ee_origin; |
| 10 | __u8 ee_type; | 9 | __u8 ee_type; |
| @@ -31,8 +30,7 @@ struct sock_extended_err | |||
| 31 | 30 | ||
| 32 | #define SKB_EXT_ERR(skb) ((struct sock_exterr_skb *) ((skb)->cb)) | 31 | #define SKB_EXT_ERR(skb) ((struct sock_exterr_skb *) ((skb)->cb)) |
