Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'khash.h')
-rw-r--r--khash.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/khash.h b/khash.h
index cb79bf8856..ff88163177 100644
--- a/khash.h
+++ b/khash.h
@@ -26,8 +26,7 @@
#ifndef __AC_KHASH_H
#define __AC_KHASH_H
-#include "cache.h"
-#include "hashmap.h"
+#include "hash.h"
#define AC_VERSION_KHASH_H "0.2.8"
@@ -62,7 +61,7 @@ static inline khint_t __ac_X31_hash_string(const char *s)
static const double __ac_HASH_UPPER = 0.77;
#define __KHASH_TYPE(name, khkey_t, khval_t) \
- typedef struct { \
+ typedef struct kh_##name { \
khint_t n_buckets, size, n_occupied, upper_bound; \
khint32_t *flags; \
khkey_t *keys; \