batman-adv: Prefix originator 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_debugfs.c 1 addition, 1 deletionnet/batman-adv/bat_debugfs.c
- net/batman-adv/bat_iv_ogm.c 22 additions, 21 deletionsnet/batman-adv/bat_iv_ogm.c
- net/batman-adv/bridge_loop_avoidance.c 2 additions, 2 deletionsnet/batman-adv/bridge_loop_avoidance.c
- net/batman-adv/gateway_client.c 14 additions, 14 deletionsnet/batman-adv/gateway_client.c
- net/batman-adv/hard-interface.c 3 additions, 3 deletionsnet/batman-adv/hard-interface.c
- net/batman-adv/icmp_socket.c 3 additions, 3 deletionsnet/batman-adv/icmp_socket.c
- net/batman-adv/main.c 2 additions, 2 deletionsnet/batman-adv/main.c
- net/batman-adv/originator.c 18 additions, 17 deletionsnet/batman-adv/originator.c
- net/batman-adv/originator.h 11 additions, 10 deletionsnet/batman-adv/originator.h
- net/batman-adv/routing.c 29 additions, 29 deletionsnet/batman-adv/routing.c
- net/batman-adv/translation-table.c 16 additions, 16 deletionsnet/batman-adv/translation-table.c
- net/batman-adv/unicast.c 3 additions, 3 deletionsnet/batman-adv/unicast.c
- net/batman-adv/vis.c 10 additions, 10 deletionsnet/batman-adv/vis.c
Loading
Please register or sign in to comment