]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
batman-adv: remove includes for extern declarations
authorSven Eckelmann <sven@narfation.org>
Thu, 28 Aug 2025 18:21:43 +0000 (20:21 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Fri, 5 Sep 2025 13:11:02 +0000 (15:11 +0200)
commit629a2b18e8729497eeac5b63e575e0961ca3a4ab
tree41a35ada7d15fff5360eb6baf946675f301563ab
parentd5d80ac74f80fab4e2647c1030053d71d8c81bc9
batman-adv: remove includes for extern declarations

It is not necessary to include the header for the struct definition for an
"extern " declaration. It can simply be dropped from the headers to reduce
the number of includes the preprocessor has to process. If needed, it can
be added to the actual C source file.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/hard-interface.c
net/batman-adv/hard-interface.h
net/batman-adv/mesh-interface.c
net/batman-adv/mesh-interface.h
net/batman-adv/netlink.h