]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Prefix bitarray non-static functions with batadv_
authorSven Eckelmann <sven@narfation.org>
Sat, 12 May 2012 00:09:25 +0000 (02:09 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 20 Jun 2012 20:15:16 +0000 (22:15 +0200)
commitca916f7f6d3e2f3273ae50b7182367cc43fbff16
tree93a654d6a5433adedeaee26cd204ad4b338304b1
parent0adee87b7cefcaf8a50f2c87c377ef77712beffc
batman-adv: Prefix bitarray 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_iv_ogm.c
net/batman-adv/bitarray.c
net/batman-adv/bitarray.h
net/batman-adv/routing.c