From: Antonio Quartulli ordex@autistici.org Date: Wed, 9 May 2012 13:12:49 +0200
From: Marek Lindner lindner_marek@yahoo.de
Signed-off-by: Marek Lindner lindner_marek@yahoo.de Acked-by: Simon Wunderlich siwu@hrz.tu-chemnitz.de Signed-off-by: Antonio Quartulli ordex@autistici.org
The namespace pollution of the batman-adv code needs to improve, and I'm putting my foot down starting with this change.
If you have a static function which is therefore private to a source file, name it whatever you want.
But once it gets exported out of that file, you have to give it an appropriate name. Probably with a "batman_adv_" prefix or similar.
Otherwise, for one thing, if this code is statically built into the tree it can conflict with symbol names elsewhere and break the build.