mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
[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:
parent
7965bd4d71
commit
f629d208d2
6 changed files with 245 additions and 263 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue