summaryrefslogtreecommitdiff
path: root/lib/hashtable.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2012-11-10 10:20:08 +0100
committerThomas Graf <tgraf@suug.ch>2012-11-10 10:22:26 +0100
commit5641c0ea6156fc04abc3c843cf11657718eced68 (patch)
tree6bcd414bba20f215f77fe908fcf4192c67717854 /lib/hashtable.c
parenta2207c7beb80050671d209650aaaeba429658e49 (diff)
downloadlibnl-5641c0ea6156fc04abc3c843cf11657718eced68.tar.gz
Hash: Properly prefix hash functions
Do not pollute public namespace with unprefixed functions. Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'lib/hashtable.c')
-rw-r--r--lib/hashtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hashtable.c b/lib/hashtable.c
index 59cd91e..938f2e4 100644
--- a/lib/hashtable.c
+++ b/lib/hashtable.c
@@ -137,5 +137,5 @@ int nl_hash_table_del(nl_hash_table_t *ht, struct nl_object *obj)
uint32_t nl_hash(void *k, size_t length, uint32_t initval)
{
- return(hash(k, length, initval));
+ return(__nl_hash(k, length, initval));
}