Commit 8de6879f authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

fib_rules.h: Remove extern from function prototypes

There are a mix of function prototypes with and without extern
in the kernel sources.  Standardize on not using extern for
function prototypes.

Function prototypes don't need to be written with extern.
extern is assumed by the compiler.  Its use is as unnecessary as
using auto to declare automatic/local variables in a block.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7b3852a2
...@@ -115,14 +115,13 @@ static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) ...@@ -115,14 +115,13 @@ static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla)
return frh->table; return frh->table;
} }
extern struct fib_rules_ops *fib_rules_register(const struct fib_rules_ops *, struct net *); struct fib_rules_ops *fib_rules_register(const struct fib_rules_ops *,
extern void fib_rules_unregister(struct fib_rules_ops *); struct net *);
void fib_rules_unregister(struct fib_rules_ops *);
extern int fib_rules_lookup(struct fib_rules_ops *, int fib_rules_lookup(struct fib_rules_ops *, struct flowi *, int flags,
struct flowi *, int flags, struct fib_lookup_arg *);
struct fib_lookup_arg *); int fib_default_rule_add(struct fib_rules_ops *, u32 pref, u32 table,
extern int fib_default_rule_add(struct fib_rules_ops *, u32 flags);
u32 pref, u32 table, u32 fib_default_rule_pref(struct fib_rules_ops *ops);
u32 flags);
extern u32 fib_default_rule_pref(struct fib_rules_ops *ops);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment