batman-adv: Prefix bridge_loop_avoidance non-static functions with batadv_
authorSven Eckelmann <sven@narfation.org>
Sat, 12 May 2012 11:38:47 +0000 (13:38 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 20 Jun 2012 20:15:17 +0000 (22:15 +0200)
commit08adf1512298201a53b88bb0a3d67e0dbbe0ed9b
treec0300fbf9717978726becbbdf14f1332178e78cd
parent0f5f9322681887ca221707afafe4216b6db5d22f
batman-adv: Prefix bridge_loop_avoidance non-static functions with batadv_

batman-adv can be compiled as part of the kernel instead of an module. In that
case the linker will see all non-static symbols of batman-adv and all other
non-static symbols of the kernel. This could lead to symbol collisions. A
prefix for the batman-adv symbols that defines their private namespace avoids
such a problem.

Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/bat_debugfs.c
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/bridge_loop_avoidance.h
net/batman-adv/hard-interface.c
net/batman-adv/main.c
net/batman-adv/routing.c
net/batman-adv/soft-interface.c
net/batman-adv/translation-table.c