aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/mscan
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 15:11:28 -0700
committerDavid S. Miller <davem@davemloft.net>2013-09-24 10:09:18 -0400
commit405eb0e5b85d82d307ff4706af4f08c3ccd1c1f7 (patch)
tree182188556d58de4c38981288bbf7d1ff8586f69e /drivers/net/can/mscan
parentptp: add the PTP_SYS_OFFSET ioctl to the testptp program (diff)
downloadlinux-dev-405eb0e5b85d82d307ff4706af4f08c3ccd1c1f7.tar.xz
linux-dev-405eb0e5b85d82d307ff4706af4f08c3ccd1c1f7.zip
can: 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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/mscan')
-rw-r--r--drivers/net/can/mscan/mscan.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/can/mscan/mscan.h b/drivers/net/can/mscan/mscan.h
index 9c24d60a23b1..e98abb97a050 100644
--- a/drivers/net/can/mscan/mscan.h
+++ b/drivers/net/can/mscan/mscan.h
@@ -297,8 +297,8 @@ struct mscan_priv {
struct napi_struct napi;
};
-extern struct net_device *alloc_mscandev(void);
-extern int register_mscandev(struct net_device *dev, int mscan_clksrc);
-extern void unregister_mscandev(struct net_device *dev);
+struct net_device *alloc_mscandev(void);
+int register_mscandev(struct net_device *dev, int mscan_clksrc);
+void unregister_mscandev(struct net_device *dev);
#endif /* __MSCAN_H__ */