]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
batman-adv: Prefix hash local static functions with batadv_
authorSven Eckelmann <sven@narfation.org>
Sat, 12 May 2012 16:33:58 +0000 (18:33 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 25 Jun 2012 06:21:42 +0000 (08:21 +0200)
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>
net/batman-adv/hash.c

index e39f8f4bb165b9bdc832958378bfae469b076623..1fb961c8d9a0ec9875ce7001bbfef876cf026af1 100644 (file)
@@ -21,7 +21,7 @@
 #include "hash.h"
 
 /* clears the hash */
-static void hash_init(struct hashtable_t *hash)
+static void batadv_hash_init(struct hashtable_t *hash)
 {
        uint32_t i;
 
@@ -58,7 +58,7 @@ struct hashtable_t *batadv_hash_new(uint32_t size)
                goto free_table;
 
        hash->size = size;
-       hash_init(hash);
+       batadv_hash_init(hash);
        return hash;
 
 free_table: