summaryrefslogtreecommitdiff
path: root/src/libstddjb/cdb_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/cdb_hash.c')
-rw-r--r--src/libstddjb/cdb_hash.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libstddjb/cdb_hash.c b/src/libstddjb/cdb_hash.c
index a7b626b..3849f02 100644
--- a/src/libstddjb/cdb_hash.c
+++ b/src/libstddjb/cdb_hash.c
@@ -4,14 +4,6 @@
#include "cdb-internal.h"
-#define CDB_HASHSTART 5381
-
-static inline uint32_t cdb_hashadd (uint32_t h, unsigned char c)
-{
- h += (h << 5) ;
- return h ^ c ;
-}
-
uint32_t cdb_hash (char const *buf, uint32_t len)
{
uint32_t h = CDB_HASHSTART ;