]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Use includes instead of fwdecls
authorSven Eckelmann <sven@narfation.org>
Fri, 24 May 2019 18:11:17 +0000 (20:11 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sat, 25 May 2019 10:59:53 +0000 (12:59 +0200)
commitae8a48d01f275fed49864ae4dded4c46157d9eb9
treec49ee22e4546b1f00daf4a4c5ca656cf500f4070
parent7d6055e6ba97ed5a473e2a31266fe1cf0ad0830e
batman-adv: Use includes instead of fwdecls

While it can be slightly beneficial for the build performance to use
forward declarations instead of includes, the handling of them together
with changes in the included headers makes it unnecessary complicated and
fragile. Just replace them with actual includes since some parts (hwmon,
..) of the kernel even request avoidance of forward declarations and net/
is mostly not using them in *.c file.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
28 files changed:
net/batman-adv/bat_algo.h
net/batman-adv/bat_v.c
net/batman-adv/bat_v_elp.h
net/batman-adv/bat_v_ogm.h
net/batman-adv/bridge_loop_avoidance.h
net/batman-adv/debugfs.h
net/batman-adv/distributed-arp-table.h
net/batman-adv/fragmentation.h
net/batman-adv/gateway_client.h
net/batman-adv/gateway_common.h
net/batman-adv/hard-interface.h
net/batman-adv/hash.h
net/batman-adv/icmp_socket.h
net/batman-adv/main.h
net/batman-adv/multicast.h
net/batman-adv/netlink.c
net/batman-adv/netlink.h
net/batman-adv/network-coding.h
net/batman-adv/originator.h
net/batman-adv/routing.h
net/batman-adv/send.h
net/batman-adv/soft-interface.c
net/batman-adv/soft-interface.h
net/batman-adv/sysfs.h
net/batman-adv/tp_meter.h
net/batman-adv/translation-table.h
net/batman-adv/tvlv.h
net/batman-adv/types.h