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

amd/7990: 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>

authored by

Joe Perches and committed by
David S. Miller
44da5c2f bddb2d9a

+6 -6
+6 -6
drivers/net/ethernet/amd/7990.h
··· 242 242 #define LANCE_ADDR(x) ((int)(x) & ~0xff000000) 243 243 244 244 /* Now the prototypes we export */ 245 - extern int lance_open(struct net_device *dev); 246 - extern int lance_close (struct net_device *dev); 247 - extern int lance_start_xmit (struct sk_buff *skb, struct net_device *dev); 248 - extern void lance_set_multicast (struct net_device *dev); 249 - extern void lance_tx_timeout(struct net_device *dev); 245 + int lance_open(struct net_device *dev); 246 + int lance_close (struct net_device *dev); 247 + int lance_start_xmit (struct sk_buff *skb, struct net_device *dev); 248 + void lance_set_multicast (struct net_device *dev); 249 + void lance_tx_timeout(struct net_device *dev); 250 250 #ifdef CONFIG_NET_POLL_CONTROLLER 251 - extern void lance_poll(struct net_device *dev); 251 + void lance_poll(struct net_device *dev); 252 252 #endif 253 253 254 254 #endif /* ndef _7990_H */