Commit 921cd68b authored by Jesper Juhl's avatar Jesper Juhl Committed by Greg Kroah-Hartman

staging: vt6656: iwctl: fix up function declarations/prototypes

The way function prototypes/declarations are written in iwctl.[ch] is
an inconsistent mess.

This patch makes the whole thing consistent by putting the first
function arguments (op to a column width of at most 80) on the same
line as the function name and the remaining ones on the following line
indented by two tabs.

Besides getting rid of the current tabs vs spaces mess it also
shortens the files quite a bit and puts them more in line with most
other kernel files.
Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4c0ad72f
This diff is collapsed.
...@@ -41,170 +41,104 @@ ...@@ -41,170 +41,104 @@
struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev); struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev);
int iwctl_siwap(struct net_device *dev, int iwctl_siwap(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct sockaddr *wrq, char *extra);
struct sockaddr *wrq,
char *extra); void iwctl_giwrange(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wrq, char *extra);
void iwctl_giwrange(struct net_device *dev,
struct iw_request_info *info, void iwctl_giwmode(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wrq, __u32 *wmode, char *extra);
char *extra);
int iwctl_siwmode(struct net_device *dev, struct iw_request_info *info,
__u32 *wmode, char *extra);
void iwctl_giwmode(struct net_device *dev,
struct iw_request_info *info, int iwctl_giwfreq(struct net_device *dev, struct iw_request_info *info,
__u32 *wmode, struct iw_freq *wrq, char *extra);
char *extra);
int iwctl_siwfreq(struct net_device *dev, struct iw_request_info *info,
int iwctl_siwmode(struct net_device *dev, struct iw_freq *wrq, char *extra);
struct iw_request_info *info,
__u32 *wmode, int iwctl_giwname(struct net_device *dev, struct iw_request_info *info,
char *extra); char *wrq, char *extra);
int iwctl_giwfreq(struct net_device *dev, int iwctl_giwsens(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra);
struct iw_freq *wrq,
char *extra); int iwctl_giwap(struct net_device *dev, struct iw_request_info *info,
struct sockaddr *wrq, char *extra);
int iwctl_siwfreq(struct net_device *dev,
struct iw_request_info *info, int iwctl_giwaplist(struct net_device *dev, struct iw_request_info *info,
struct iw_freq *wrq, struct iw_point *wrq, char *extra);
char *extra);
int iwctl_siwessid(struct net_device *dev, struct iw_request_info *info,
int iwctl_giwname(struct net_device *dev, struct iw_point *wrq, char *extra);
struct iw_request_info *info,
char *wrq, void iwctl_giwessid(struct net_device *dev, struct iw_request_info *info,
char *extra); struct iw_point *wrq, char *extra);
int iwctl_giwsens(struct net_device *dev, int iwctl_siwrate(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra);
struct iw_param *wrq,
char *extra); void iwctl_giwrate(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, char *extra);
int iwctl_giwap(struct net_device *dev,
struct iw_request_info *info, int iwctl_siwrts(struct net_device *dev, struct iw_param *wrq);
struct sockaddr *wrq,
char *extra); int iwctl_giwrts(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, char *extra);
int iwctl_giwaplist(struct net_device *dev,
struct iw_request_info *info, int iwctl_siwfrag(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wrq, struct iw_param *wrq, char *extra);
char *extra);
int iwctl_giwfrag(struct net_device *dev, struct iw_request_info *info,
int iwctl_siwessid(struct net_device *dev, struct iw_param *wrq, char *extra);
struct iw_request_info *info,
struct iw_point *wrq, int iwctl_siwretry(struct net_device *dev, struct iw_request_info *info,
char *extra); struct iw_param *wrq, char *extra);
void iwctl_giwessid(struct net_device *dev, int iwctl_giwretry(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra);
struct iw_point *wrq,
char *extra); int iwctl_siwencode(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wrq, char *extra);
int iwctl_siwrate(struct net_device *dev,
struct iw_request_info *info, int iwctl_giwencode(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, struct iw_point *wrq, char *extra);
char *extra);
int iwctl_siwpower(struct net_device *dev, struct iw_request_info *info,
void iwctl_giwrate(struct net_device *dev, struct iw_param *wrq, char *extra);
struct iw_request_info *info,
struct iw_param *wrq, int iwctl_giwpower(struct net_device *dev, struct iw_request_info *info,
char *extra); struct iw_param *wrq, char *extra);
int iwctl_siwrts(struct net_device *dev, int iwctl_giwscan(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq); struct iw_point *wrq, char *extra);
int iwctl_giwrts(struct net_device *dev, int iwctl_siwscan(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra);
struct iw_param *wrq,
char *extra);
int iwctl_siwfrag(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_giwfrag(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_siwretry(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_giwretry(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_siwencode(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra);
int iwctl_giwencode(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra);
int iwctl_siwpower(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_giwpower(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
int iwctl_giwscan(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra);
int iwctl_siwscan(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
#ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
int iwctl_siwauth(struct net_device *dev, int iwctl_siwauth(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_param *wrq, char *extra);
struct iw_param *wrq,
char *extra); int iwctl_giwauth(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, char *extra);
int iwctl_giwauth(struct net_device *dev,
struct iw_request_info *info, int iwctl_siwgenie(struct net_device *dev, struct iw_request_info *info,
struct iw_param *wrq, struct iw_point *wrq, char *extra);
char *extra);
int iwctl_giwgenie(struct net_device *dev, struct iw_request_info *info,
int iwctl_siwgenie(struct net_device *dev, struct iw_point *wrq, char *extra);
struct iw_request_info *info,
struct iw_point *wrq, int iwctl_siwencodeext(struct net_device *dev, struct iw_request_info *info,
char *extra); struct iw_point *wrq, char *extra);
int iwctl_giwgenie(struct net_device *dev, int iwctl_giwencodeext(struct net_device *dev, struct iw_request_info *info,
struct iw_request_info *info, struct iw_point *wrq, char *extra);
struct iw_point *wrq,
char *extra); int iwctl_siwmlme(struct net_device *dev, struct iw_request_info *info,
struct iw_point *wrq, char *extra);
int iwctl_siwencodeext(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra);
int iwctl_giwencodeext(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra);
int iwctl_siwmlme(struct net_device *dev,
struct iw_request_info * info,
struct iw_point *wrq,
char *extra);
#endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT #endif // #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
extern const struct iw_handler_def iwctl_handler_def; extern const struct iw_handler_def iwctl_handler_def;
......
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