"make W=1" enables -Wold-style-declaration, which is generally useful to warn about pre-C89 code in the kernel, but it also warns about some harmless variations (sometimes many of them from a single file).
This fixes up the 8 instances I found in the networking code, there is another series of 12 patches for the rest of the kernel. Arnd Bergmann (8): wireless: airo: rename 'register' variable wireless: brcmsmac: fix old-style declaration wireless: ipw2200: fix old-style declaration hamradio: baycom: fix old-style declaration isdn: eicon: fix old-style declarations net: gianfar: fix old-style declaration net: xfrm: fix old-style declaration sunrpc: fix old-style declaration drivers/isdn/hardware/eicon/divasmain.c | 12 ++++++------ drivers/isdn/hardware/eicon/platform.h | 6 +++--- drivers/net/ethernet/freescale/gianfar.c | 2 +- drivers/net/hamradio/baycom_par.c | 6 +++--- drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c | 4 ++-- drivers/net/wireless/cisco/airo.c | 4 ++-- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 2 +- net/ipv4/xfrm4_policy.c | 8 ++++---- net/ipv6/xfrm6_policy.c | 4 ++-- net/sunrpc/clnt.c | 2 +- 10 files changed, 25 insertions(+), 25 deletions(-) -- 2.9.0 Cc: Armin Schindler <[email protected]> Cc: Karsten Keil <[email protected]> Cc: Claudiu Manoil <[email protected]> Cc: Thomas Sailer <[email protected]> Cc: Stanislav Yakovlev <[email protected]> Cc: Steffen Klassert <[email protected]> Cc: Herbert Xu <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Trond Myklebust <[email protected]> Cc: Anna Schumaker <[email protected]> Cc: "J. Bruce Fields" <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected]
