aboutsummaryrefslogtreecommitdiffstats
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 21:06:22 -0400
commit53406cd734ec5293069acd9135440ff36a4bbdbc (patch)
treee792f853015744b3c178e6b769104f843cc11897
parentb3a7cd194857b3dc099e8f8bb0ed97bb4a1b5fde (diff)
orinoco: 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>
-rw-r--r--drivers/net/wireless/orinoco/orinoco.h31
1 files changed, 14 insertions, 17 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco.h b/drivers/net/wireless/orinoco/orinoco.h
index 3bb936b9558c..eebd2be21ee9 100644
--- a/drivers/net/wireless/orinoco/orinoco.h
+++ b/drivers/net/wireless/orinoco/orinoco.h
@@ -182,23 +182,20 @@ extern int orinoco_debug;
182/* Exported prototypes */ 182/* Exported prototypes */
183/********************************************************************/ 183/********************************************************************/
184 184
185extern struct orinoco_private *alloc_orinocodev( 185struct orinoco_private *alloc_orinocodev(int sizeof_card, struct device *device,
186 int sizeof_card, struct device *device, 186 int (*hard_reset)(struct orinoco_private *),
187 int (*hard_reset)(struct orinoco_private *), 187 int (*stop_fw)(struct orinoco_private *, int));
188 int (*stop_fw)(struct orinoco_private *, int)); 188void free_orinocodev(struct orinoco_private *priv);
189extern void free_orinocodev(struct orinoco_private *priv); 189int orinoco_init(struct orinoco_private *priv);
190extern int orinoco_init(struct orinoco_private *priv); 190int orinoco_if_add(struct orinoco_private *priv, unsigned long base_addr,
191extern int orinoco_if_add(struct orinoco_private *priv, 191 unsigned int irq, const struct net_device_ops *ops);
192 unsigned long base_addr, 192void orinoco_if_del(struct orinoco_private *priv);
193 unsigned int irq, 193int orinoco_up(struct orinoco_private *priv);
194 const struct net_device_ops *ops); 194void orinoco_down(struct orinoco_private *priv);
195extern void orinoco_if_del(struct orinoco_private *priv); 195irqreturn_t orinoco_interrupt(int irq, void *dev_id);
196extern int orinoco_up(struct orinoco_private *priv); 196
197extern void orinoco_down(struct orinoco_private *priv); 197void __orinoco_ev_info(struct net_device *dev, struct hermes *hw);
198extern irqreturn_t orinoco_interrupt(int irq, void *dev_id); 198void __orinoco_ev_rx(struct net_device *dev, struct hermes *hw);
199
200extern void __orinoco_ev_info(struct net_device *dev, struct hermes *hw);
201extern void __orinoco_ev_rx(struct net_device *dev, struct hermes *hw);
202 199
203int orinoco_process_xmit_skb(struct sk_buff *skb, 200int orinoco_process_xmit_skb(struct sk_buff *skb,
204 struct net_device *dev, 201 struct net_device *dev,