mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
wext: constify extra argument to wireless_send_event
This is never changed by the function, so can be marked const. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
0575606b08
commit
5121ea0481
2 changed files with 2 additions and 2 deletions
|
@ -443,7 +443,7 @@ extern int dev_get_wireless_info(char * buffer, char **start, off_t offset,
|
|||
extern void wireless_send_event(struct net_device * dev,
|
||||
unsigned int cmd,
|
||||
union iwreq_data * wrqu,
|
||||
char * extra);
|
||||
const char * extra);
|
||||
|
||||
/* We may need a function to send a stream of events to user space.
|
||||
* More on that later... */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue