Skip to content

Commit

Permalink
batman-adv: Prefix hash local static functions with batadv_
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sven Eckelmann authored and Antonio Quartulli committed Jun 25, 2012
1 parent 18a1cb6 commit 7f9f02c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/batman-adv/hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 7f9f02c

Please sign in to comment.