Commit 7f9f02cb authored by Sven Eckelmann's avatar Sven Eckelmann Committed by Antonio Quartulli

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: default avatarSven Eckelmann <sven@narfation.org>
parent 18a1cb6e
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "hash.h" #include "hash.h"
/* clears the hash */ /* clears the hash */
static void hash_init(struct hashtable_t *hash) static void batadv_hash_init(struct hashtable_t *hash)
{ {
uint32_t i; uint32_t i;
...@@ -58,7 +58,7 @@ struct hashtable_t *batadv_hash_new(uint32_t size) ...@@ -58,7 +58,7 @@ struct hashtable_t *batadv_hash_new(uint32_t size)
goto free_table; goto free_table;
hash->size = size; hash->size = size;
hash_init(hash); batadv_hash_init(hash);
return hash; return hash;
free_table: free_table:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment