aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/x25_asy.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 11:37:59 -0700
committerJoe Perches <joe@perches.com>2013-09-24 16:40:19 -0700
commit65c8f953621acc51fd45662191ca21126b75d142 (patch)
tree7581550f396f192cfacce15af738558a457779c4 /drivers/net/wan/x25_asy.h
parentvmxnet3: Remove extern from function prototypes (diff)
downloadlinux-dev-65c8f953621acc51fd45662191ca21126b75d142.tar.xz
linux-dev-65c8f953621acc51fd45662191ca21126b75d142.zip
wan: 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 'drivers/net/wan/x25_asy.h')
-rw-r--r--drivers/net/wan/x25_asy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/x25_asy.h b/drivers/net/wan/x25_asy.h
index 8f0fc2e57e2b..f57ee67836ae 100644
--- a/drivers/net/wan/x25_asy.h
+++ b/drivers/net/wan/x25_asy.h
@@ -41,6 +41,6 @@ struct x25_asy {
#define X25_ASY_MAGIC 0x5303
-extern int x25_asy_init(struct net_device *dev);
+int x25_asy_init(struct net_device *dev);
#endif /* _LINUX_X25_ASY.H */