mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-24 10:44:09 +00:00
offmap: remove GIT__USE_OFFMAP macro
This commit is contained in:
parent
cf6124d68b
commit
8f5fe903d6
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user