summaryrefslogtreecommitdiffstats
path: root/lib/hash.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2012-11-10 09:20:08 (GMT)
committerThomas Graf <tgraf@suug.ch>2012-11-10 09:22:26 (GMT)
commit5641c0ea6156fc04abc3c843cf11657718eced68 (patch)
tree6bcd414bba20f215f77fe908fcf4192c67717854 /lib/hash.c
parenta2207c7beb80050671d209650aaaeba429658e49 (diff)
downloadlibnl-5641c0ea6156fc04abc3c843cf11657718eced68.zip
libnl-5641c0ea6156fc04abc3c843cf11657718eced68.tar.gz
libnl-5641c0ea6156fc04abc3c843cf11657718eced68.tar.bz2
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/hash.c')
-rw-r--r--lib/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hash.c b/lib/hash.c
index 6fdf2b8..47c938b 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -473,7 +473,7 @@ static uint32_t hashbig( const void *key, size_t length, uint32_t *val2)
return c;
}
-uint32_t hash_any(const void *key, size_t length, uint32_t base)
+uint32_t nl_hash_any(const void *key, size_t length, uint32_t base)
{
if (HASH_BIG_ENDIAN)
return hashbig(key, length, &base);