batman-adv: Prefix main 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 3 additions, 3 deletionsnet/batman-adv/bat_debugfs.c
- net/batman-adv/bat_iv_ogm.c 8 additions, 8 deletionsnet/batman-adv/bat_iv_ogm.c
- net/batman-adv/bridge_loop_avoidance.c 1 addition, 1 deletionnet/batman-adv/bridge_loop_avoidance.c
- net/batman-adv/hard-interface.c 7 additions, 7 deletionsnet/batman-adv/hard-interface.c
- net/batman-adv/icmp_socket.c 2 additions, 2 deletionsnet/batman-adv/icmp_socket.c
- net/batman-adv/main.c 29 additions, 28 deletionsnet/batman-adv/main.c
- net/batman-adv/main.h 21 additions, 20 deletionsnet/batman-adv/main.h
- net/batman-adv/originator.c 2 additions, 2 deletionsnet/batman-adv/originator.c
- net/batman-adv/routing.c 13 additions, 13 deletionsnet/batman-adv/routing.c
- net/batman-adv/send.c 3 additions, 3 deletionsnet/batman-adv/send.c
- net/batman-adv/soft-interface.c 3 additions, 3 deletionsnet/batman-adv/soft-interface.c
- net/batman-adv/translation-table.c 2 additions, 2 deletionsnet/batman-adv/translation-table.c
- net/batman-adv/vis.c 5 additions, 5 deletionsnet/batman-adv/vis.c
Loading
Please register or sign in to comment