mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
4b7673a04a
commit
fd2c3ef761
37 changed files with 120 additions and 240 deletions
|
@ -7,8 +7,7 @@
|
|||
#include <net/flow.h>
|
||||
#include <net/rtnetlink.h>
|
||||
|
||||
struct fib_rule
|
||||
{
|
||||
struct fib_rule {
|
||||
struct list_head list;
|
||||
atomic_t refcnt;
|
||||
int ifindex;
|
||||
|
@ -25,15 +24,13 @@ struct fib_rule
|
|||
struct net * fr_net;
|
||||
};
|
||||
|
||||
struct fib_lookup_arg
|
||||
{
|
||||
struct fib_lookup_arg {
|
||||
void *lookup_ptr;
|
||||
void *result;
|
||||
struct fib_rule *rule;
|
||||
};
|
||||
|
||||
struct fib_rules_ops
|
||||
{
|
||||
struct fib_rules_ops {
|
||||
int family;
|
||||
struct list_head list;
|
||||
int rule_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue