summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--khash.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/khash.h b/khash.h
index ae9f783..cb2cd3d 100644
--- a/khash.h
+++ b/khash.h
@@ -324,14 +324,6 @@ static const double __ac_HASH_UPPER = 0.77;
code; \
} }
-#define __kh_oid_cmp(a, b) (hashcmp(a, b) == 0)
-
-KHASH_INIT(sha1, const unsigned char *, void *, 1, sha1hash, __kh_oid_cmp)
-typedef kh_sha1_t khash_sha1;
-
-KHASH_INIT(sha1_pos, const unsigned char *, int, 1, sha1hash, __kh_oid_cmp)
-typedef kh_sha1_pos_t khash_sha1_pos;
-
static inline unsigned int oid_hash(struct object_id oid)
{
return sha1hash(oid.hash);