summaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/hash.h b/src/hash.h
index efd252f..357131d 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -1,18 +1,8 @@
/**
- * The "lookup3.c" Hash Implementation from Bob Jenkins
+ * Seccomp Library hash code
*
- * Original Author: Bob Jenkins <bob_jenkins@burtleburtle.net>
- * Source: http://burtleburtle.net/bob/c/lookup3.c
- */
-
-/*
- * Original License:
+ * See hash.c for information on the implementation.
*
- * These are functions for producing 32-bit hashes for hash table lookup.
- * hashword(), hashlittle(), hashlittle2(), hashbig(), mix(), and final()
- * are externally useful functions. Routines to test the hash are included
- * if SELF_TEST is defined. You can use this free for any purpose. It's in
- * the public domain. It has no warranty.
*/
#ifndef _HASH_H
@@ -20,7 +10,7 @@
#include <inttypes.h>
-uint32_t jhash(const void *key, size_t length, uint32_t initval);
+uint32_t hash(const void *key, size_t length);
#endif