commit | 3193e8fdfa355289892661d206d1954114a7be95 | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven@narfation.org> | Sat May 12 02:09:42 2012 +0200 |
committer | Antonio Quartulli <ordex@autistici.org> | Wed Jun 20 22:15:32 2012 +0200 |
tree | 4fce7c85cd572389433a128db0ed180a3928e968 | |
parent | d0f714f472967577067853acc8dabe0abc75ae8f [diff] |
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>