summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-07-12 11:52:10 -0700
committerRussell Belfer <rb@github.com>2012-07-12 11:52:10 -0700
commit39b8e047b4e18cb1de45335027e9c79a4c70a75b (patch)
treef88484a2c64d7ba948948b0a13a2d13f5dc29841
parent72ee07876295c241892edf4ccde15caf2c657413 (diff)
downloadlibgit2-39b8e047b4e18cb1de45335027e9c79a4c70a75b.tar.gz
Missed a couple of khash inline dependencies
-rw-r--r--src/oidmap.h2
-rw-r--r--src/strmap.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/oidmap.h b/src/oidmap.h
index 858268c9..5a0bab6e 100644
--- a/src/oidmap.h
+++ b/src/oidmap.h
@@ -34,7 +34,7 @@ GIT_INLINE(int) hash_git_oid_equal(const git_oid *a, const git_oid *b)
}
#define GIT__USE_OIDMAP \
- __KHASH_IMPL(oid, static inline, const git_oid *, void *, 1, hash_git_oid, hash_git_oid_equal)
+ __KHASH_IMPL(oid, static kh_inline, const git_oid *, void *, 1, hash_git_oid, hash_git_oid_equal)
#define git_oidmap_alloc() kh_init(oid)
#define git_oidmap_free(h) kh_destroy(oid,h), h = NULL
diff --git a/src/strmap.h b/src/strmap.h
index da5ca0db..9972039a 100644
--- a/src/strmap.h
+++ b/src/strmap.h
@@ -19,7 +19,7 @@ __KHASH_TYPE(str, const char *, void *);
typedef khash_t(str) git_strmap;
#define GIT__USE_STRMAP \
- __KHASH_IMPL(str, static inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)
+ __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)
#define git_strmap_alloc() kh_init(str)
#define git_strmap_free(h) kh_destroy(str, h), h = NULL