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

mrp.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
a5be1eb6 bf3c710f

+10 -12
+10 -12
include/net/mrp.h
··· 125 125 struct rcu_head rcu; 126 126 }; 127 127 128 - extern int mrp_register_application(struct mrp_application *app); 129 - extern void mrp_unregister_application(struct mrp_application *app); 128 + int mrp_register_application(struct mrp_application *app); 129 + void mrp_unregister_application(struct mrp_application *app); 130 130 131 - extern int mrp_init_applicant(struct net_device *dev, 132 - struct mrp_application *app); 133 - extern void mrp_uninit_applicant(struct net_device *dev, 134 - struct mrp_application *app); 131 + int mrp_init_applicant(struct net_device *dev, struct mrp_application *app); 132 + void mrp_uninit_applicant(struct net_device *dev, struct mrp_application *app); 135 133 136 - extern int mrp_request_join(const struct net_device *dev, 137 - const struct mrp_application *app, 138 - const void *value, u8 len, u8 type); 139 - extern void mrp_request_leave(const struct net_device *dev, 140 - const struct mrp_application *app, 141 - const void *value, u8 len, u8 type); 134 + int mrp_request_join(const struct net_device *dev, 135 + const struct mrp_application *app, 136 + const void *value, u8 len, u8 type); 137 + void mrp_request_leave(const struct net_device *dev, 138 + const struct mrp_application *app, 139 + const void *value, u8 len, u8 type); 142 140 143 141 #endif /* _NET_MRP_H */