diff options
author | Joe Perches <joe@perches.com> | 2013-09-26 14:48:15 -0700 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2013-09-26 15:06:58 -0700 |
commit | f629d208d27a22f495b7734eede585b5d207e912 (patch) | |
tree | 1fd20f80eb03de507641f4069b39a07df3d57000 /include/linux/fcdevice.h | |
parent | 7965bd4d71ef7cf1db00afb9e406ddfc13443c13 (diff) | |
download | op-kernel-dev-f629d208d27a22f495b7734eede585b5d207e912.zip op-kernel-dev-f629d208d27a22f495b7734eede585b5d207e912.tar.gz |
[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>
Diffstat (limited to 'include/linux/fcdevice.h')
-rw-r--r-- | include/linux/fcdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fcdevice.h b/include/linux/fcdevice.h index e460ef8..5009fa1 100644 --- a/include/linux/fcdevice.h +++ b/include/linux/fcdevice.h @@ -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 */ |