]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: ks7010: Remove extern keyword from function declaration
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 17 Sep 2016 07:39:13 +0000 (13:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Sep 2016 21:36:53 +0000 (23:36 +0200)
commitd1ca5e33e5af96e1beb4decd896035d9c07459ea
tree6f24195980f0cffeaaa3661032d21ff4d3b278c9
parent98132165714f246c55282e315a84282f5861b075
Staging: ks7010: Remove extern keyword from function declaration

Remove extern specifier from function declaration as they have
it by default. Also move extern declaration from .c files to
their respective header file 'ks_hostif.h'. Coccinelle was used
to remove extern and other changes were done by hand.
Script:
@@
identifier func;
type T;
@@
- extern
T func(...);

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c
drivers/staging/ks7010/ks_hostif.h
drivers/staging/ks7010/ks_wlan.h
drivers/staging/ks7010/ks_wlan_ioctl.h
drivers/staging/ks7010/ks_wlan_net.c
drivers/staging/ks7010/michael_mic.h