aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 14:37:59 -0400
committerJoe Perches <joe@perches.com>2013-09-24 19:40:19 -0400
commit65c8f953621acc51fd45662191ca21126b75d142 (patch)
tree7581550f396f192cfacce15af738558a457779c4 /drivers/net/wan
parentd8dea1eb36bcc004416b9587f09730430905e5b7 (diff)
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')
-rw-r--r--drivers/net/wan/x25_asy.h2
-rw-r--r--drivers/net/wan/z85230.h27
2 files changed, 14 insertions, 15 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 {
41 41
42#define X25_ASY_MAGIC 0x5303 42#define X25_ASY_MAGIC 0x5303
43 43
44extern int x25_asy_init(struct net_device *dev); 44int x25_asy_init(struct net_device *dev);
45 45
46#endif /* _LINUX_X25_ASY.H */ 46#endif /* _LINUX_X25_ASY.H */
diff --git a/drivers/net/wan/z85230.h b/drivers/net/wan/z85230.h
index f29d554fc07d..2416a9d60bd6 100644
--- a/drivers/net/wan/z85230.h
+++ b/drivers/net/wan/z85230.h
@@ -395,20 +395,19 @@ struct z8530_dev
395extern u8 z8530_dead_port[]; 395extern u8 z8530_dead_port[];
396extern u8 z8530_hdlc_kilostream_85230[]; 396extern u8 z8530_hdlc_kilostream_85230[];
397extern u8 z8530_hdlc_kilostream[]; 397extern u8 z8530_hdlc_kilostream[];
398extern irqreturn_t z8530_interrupt(int, void *); 398irqreturn_t z8530_interrupt(int, void *);
399extern void z8530_describe(struct z8530_dev *, char *mapping, unsigned long io); 399void z8530_describe(struct z8530_dev *, char *mapping, unsigned long io);
400extern int z8530_init(struct z8530_dev *); 400int z8530_init(struct z8530_dev *);
401extern int z8530_shutdown(struct z8530_dev *); 401int z8530_shutdown(struct z8530_dev *);
402extern int z8530_sync_open(struct net_device *, struct z8530_channel *); 402int z8530_sync_open(struct net_device *, struct z8530_channel *);
403extern int z8530_sync_close(struct net_device *, struct z8530_channel *); 403int z8530_sync_close(struct net_device *, struct z8530_channel *);
404extern int z8530_sync_dma_open(struct net_device *, struct z8530_channel *); 404int z8530_sync_dma_open(struct net_device *, struct z8530_channel *);
405extern int z8530_sync_dma_close(struct net_device *, struct z8530_channel *); 405int z8530_sync_dma_close(struct net_device *, struct z8530_channel *);
406extern int z8530_sync_txdma_open(struct net_device *, struct z8530_channel *); 406int z8530_sync_txdma_open(struct net_device *, struct z8530_channel *);
407extern int z8530_sync_txdma_close(struct net_device *, struct z8530_channel *); 407int z8530_sync_txdma_close(struct net_device *, struct z8530_channel *);
408extern int z8530_channel_load(struct z8530_channel *, u8 *); 408int z8530_channel_load(struct z8530_channel *, u8 *);
409extern netdev_tx_t z8530_queue_xmit(struct z8530_channel *c, 409netdev_tx_t z8530_queue_xmit(struct z8530_channel *c, struct sk_buff *skb);
410 struct sk_buff *skb); 410void z8530_null_rx(struct z8530_channel *c, struct sk_buff *skb);
411extern void z8530_null_rx(struct z8530_channel *c, struct sk_buff *skb);
412 411
413 412
414/* 413/*