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/fib_rules.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/fib_rules.h')
-rw-r--r-- | include/net/fib_rules.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h index ca4b2e840078..2cd707b15d59 100644 --- a/include/net/fib_rules.h +++ b/include/net/fib_rules.h | |||
@@ -7,8 +7,7 @@ | |||
7 | #include <net/flow.h> | 7 | #include <net/flow.h> |
8 | #include <net/rtnetlink.h> | 8 | #include <net/rtnetlink.h> |
9 | 9 | ||
10 | struct fib_rule | 10 | struct fib_rule { |
11 | { | ||
12 | struct list_head list; | 11 | struct list_head list; |
13 | atomic_t refcnt; | 12 | atomic_t refcnt; |
14 | int ifindex; | 13 | int ifindex; |
@@ -25,15 +24,13 @@ struct fib_rule | |||
25 | struct net * fr_net; | 24 | struct net * fr_net; |
26 | }; | 25 | }; |
27 | 26 | ||
28 | struct fib_lookup_arg | 27 | struct fib_lookup_arg { |
29 | { | ||
30 | void *lookup_ptr; | 28 | void *lookup_ptr; |
31 | void *result; | 29 | void *result; |
32 | struct fib_rule *rule; | 30 | struct fib_rule *rule; |
33 | }; | 31 | }; |
34 | 32 | ||
35 | struct fib_rules_ops | 33 | struct fib_rules_ops { |
36 | { | ||
37 | int family; | 34 | int family; |
38 | struct list_head list; | 35 | struct list_head list; |
39 | int rule_size; | 36 | int rule_size; |