offmap: remove GIT__USE_OFFMAP macro

This commit is contained in:
Patrick Steinhardt 2017-02-02 11:58:48 +01:00
parent cf6124d68b
commit 8f5fe903d6
3 changed files with 1 additions and 6 deletions

View File

@ -7,7 +7,7 @@
#include "offmap.h"
GIT__USE_OFFMAP
__KHASH_IMPL(off, static kh_inline, git_off_t, void *, 1, kh_int64_hash_func, kh_int64_hash_equal)
git_offmap *git_offmap_alloc(void)
{

View File

@ -20,9 +20,6 @@
__KHASH_TYPE(off, git_off_t, void *)
typedef khash_t(off) git_offmap;
#define GIT__USE_OFFMAP \
__KHASH_IMPL(off, static kh_inline, git_off_t, void *, 1, kh_int64_hash_func, kh_int64_hash_equal)
git_offmap *git_offmap_alloc(void);
#define git_offmap_free(h) git_offmap__free(h); (h) = NULL
void git_offmap__free(git_offmap *map);

View File

@ -16,8 +16,6 @@
#include <zlib.h>
GIT__USE_OFFMAP
static int packfile_open(struct git_pack_file *p);
static git_off_t nth_packed_object_offset(const struct git_pack_file *p, uint32_t n);
static int packfile_unpack_compressed(