Commit 70a3926f authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

iw_handler.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: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e67e16ea
...@@ -432,44 +432,32 @@ struct iw_public_data { ...@@ -432,44 +432,32 @@ struct iw_public_data {
/* First : function strictly used inside the kernel */ /* First : function strictly used inside the kernel */
/* Handle /proc/net/wireless, called in net/code/dev.c */ /* Handle /proc/net/wireless, called in net/code/dev.c */
extern int dev_get_wireless_info(char * buffer, char **start, off_t offset, int dev_get_wireless_info(char *buffer, char **start, off_t offset, int length);
int length);
/* Second : functions that may be called by driver modules */ /* Second : functions that may be called by driver modules */
/* Send a single event to user space */ /* Send a single event to user space */
extern void wireless_send_event(struct net_device * dev, void wireless_send_event(struct net_device *dev, unsigned int cmd,
unsigned int cmd, union iwreq_data *wrqu, const char *extra);
union iwreq_data * wrqu,
const char * extra);
/* We may need a function to send a stream of events to user space. /* We may need a function to send a stream of events to user space.
* More on that later... */ * More on that later... */
/* Standard handler for SIOCSIWSPY */ /* Standard handler for SIOCSIWSPY */
extern int iw_handler_set_spy(struct net_device * dev, int iw_handler_set_spy(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info * info, union iwreq_data *wrqu, char *extra);
union iwreq_data * wrqu,
char * extra);
/* Standard handler for SIOCGIWSPY */ /* Standard handler for SIOCGIWSPY */
extern int iw_handler_get_spy(struct net_device * dev, int iw_handler_get_spy(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info * info, union iwreq_data *wrqu, char *extra);
union iwreq_data * wrqu,
char * extra);
/* Standard handler for SIOCSIWTHRSPY */ /* Standard handler for SIOCSIWTHRSPY */
extern int iw_handler_set_thrspy(struct net_device * dev, int iw_handler_set_thrspy(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, union iwreq_data *wrqu, char *extra);
union iwreq_data * wrqu,
char * extra);
/* Standard handler for SIOCGIWTHRSPY */ /* Standard handler for SIOCGIWTHRSPY */
extern int iw_handler_get_thrspy(struct net_device * dev, int iw_handler_get_thrspy(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, union iwreq_data *wrqu, char *extra);
union iwreq_data * wrqu,
char * extra);
/* Driver call to update spy records */ /* Driver call to update spy records */
extern void wireless_spy_update(struct net_device * dev, void wireless_spy_update(struct net_device *dev, unsigned char *address,
unsigned char * address, struct iw_quality *wstats);
struct iw_quality * wstats);
/************************* INLINE FUNTIONS *************************/ /************************* INLINE FUNTIONS *************************/
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment