aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-05-12 12:33:58 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-06-25 02:21:42 -0400
commit7f9f02cb83a6a85fea1482191405a9ce37558479 (patch)
tree9a638c800e52f4ad07c13639dc6275f48519d5c4 /net
parent18a1cb6ee08e6ea62e0f3c2643435cd444fc0790 (diff)
batman-adv: Prefix hash local static functions with batadv_
All non-static symbols of batman-adv were prefixed with batadv_ to avoid collisions with other symbols of the kernel. Other symbols of batman-adv should use the same prefix to keep the naming scheme consistent. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net')
-rw-r--r--net/batman-adv/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/hash.c b/net/batman-adv/hash.c
index e39f8f4bb165..1fb961c8d9a0 100644
--- a/net/batman-adv/hash.c
+++ b/net/batman-adv/hash.c
@@ -21,7 +21,7 @@
21#include "hash.h" 21#include "hash.h"
22 22
23/* clears the hash */ 23/* clears the hash */
24static void hash_init(struct hashtable_t *hash) 24static void batadv_hash_init(struct hashtable_t *hash)
25{ 25{
26 uint32_t i; 26 uint32_t i;
27 27
@@ -58,7 +58,7 @@ struct hashtable_t *batadv_hash_new(uint32_t size)
58 goto free_table; 58 goto free_table;
59 59
60 hash->size = size; 60 hash->size = size;
61 hash_init(hash); 61 batadv_hash_init(hash);
62 return hash; 62 return hash;
63 63
64free_table: 64free_table: