[networking]device.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>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include <linux/if_fc.h>
|
||||
|
||||
#ifdef __KERNEL__
|
||||
extern struct net_device *alloc_fcdev(int sizeof_priv);
|
||||
struct net_device *alloc_fcdev(int sizeof_priv);
|
||||
#endif
|
||||
|
||||
#endif /* _LINUX_FCDEVICE_H */
|
||||
|
Reference in New Issue
Block a user