batman-adv: Prefix routing 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>
Showing
- net/batman-adv/bat_iv_ogm.c 8 additions, 7 deletionsnet/batman-adv/bat_iv_ogm.c
- net/batman-adv/gateway_client.c 3 additions, 2 deletionsnet/batman-adv/gateway_client.c
- net/batman-adv/main.c 7 additions, 7 deletionsnet/batman-adv/main.c
- net/batman-adv/originator.c 3 additions, 2 deletionsnet/batman-adv/originator.c
- net/batman-adv/routing.c 31 additions, 29 deletionsnet/batman-adv/routing.c
- net/batman-adv/routing.h 27 additions, 25 deletionsnet/batman-adv/routing.h
- net/batman-adv/unicast.c 1 addition, 2 deletionsnet/batman-adv/unicast.c
Loading
Please register or sign in to comment