Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Joe Perches and committed by
David S. Miller
8de6879f 7b3852a2

+8 -9
+8 -9
include/net/fib_rules.h
··· 115 115 return frh->table; 116 116 } 117 117 118 - extern struct fib_rules_ops *fib_rules_register(const struct fib_rules_ops *, struct net *); 119 - extern void fib_rules_unregister(struct fib_rules_ops *); 118 + struct fib_rules_ops *fib_rules_register(const struct fib_rules_ops *, 119 + struct net *); 120 + void fib_rules_unregister(struct fib_rules_ops *); 120 121 121 - extern int fib_rules_lookup(struct fib_rules_ops *, 122 - struct flowi *, int flags, 123 - struct fib_lookup_arg *); 124 - extern int fib_default_rule_add(struct fib_rules_ops *, 125 - u32 pref, u32 table, 126 - u32 flags); 127 - extern u32 fib_default_rule_pref(struct fib_rules_ops *ops); 122 + int fib_rules_lookup(struct fib_rules_ops *, struct flowi *, int flags, 123 + struct fib_lookup_arg *); 124 + int fib_default_rule_add(struct fib_rules_ops *, u32 pref, u32 table, 125 + u32 flags); 126 + u32 fib_default_rule_pref(struct fib_rules_ops *ops); 128 127 #endif