Skip to content

Commit 8f5fe90

Browse files
committed
offmap: remove GIT__USE_OFFMAP macro
1 parent cf6124d commit 8f5fe90

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

src/offmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include "offmap.h"
99

10-
GIT__USE_OFFMAP
10+
__KHASH_IMPL(off, static kh_inline, git_off_t, void *, 1, kh_int64_hash_func, kh_int64_hash_equal)
1111

1212
git_offmap *git_offmap_alloc(void)
1313
{

src/offmap.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
__KHASH_TYPE(off, git_off_t, void *)
2121
typedef khash_t(off) git_offmap;
2222

23-
#define GIT__USE_OFFMAP \
24-
__KHASH_IMPL(off, static kh_inline, git_off_t, void *, 1, kh_int64_hash_func, kh_int64_hash_equal)
25-
2623
git_offmap *git_offmap_alloc(void);
2724
#define git_offmap_free(h) git_offmap__free(h); (h) = NULL
2825
void git_offmap__free(git_offmap *map);

src/pack.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#include <zlib.h>
1818

19-
GIT__USE_OFFMAP
20-
2119
static int packfile_open(struct git_pack_file *p);
2220
static git_off_t nth_packed_object_offset(const struct git_pack_file *p, uint32_t n);
2321
static int packfile_unpack_compressed(

0 commit comments

Comments
 (0)