Skip to content

Commit 39b00fa

Browse files
chriscoolgitster
authored andcommitted
sha1-lookup: remove sha1_entry_pos() from header file
Since f1068ef (sha1_file: drop experimental GIT_USE_LOOKUP search, 2017-08-09) the definition of sha1_entry_pos() has been removed from "sha1-lookup.c", so there is no need anymore for its declaration in "sha1-lookup.h". Signed-off-by: Christian Couder <[email protected]> Acked-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f1068ef commit 39b00fa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sha1-lookup.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,4 @@ extern int sha1_pos(const unsigned char *sha1,
77
void *table,
88
size_t nr,
99
sha1_access_fn fn);
10-
11-
extern int sha1_entry_pos(const void *table,
12-
size_t elem_size,
13-
size_t key_offset,
14-
unsigned lo, unsigned hi, unsigned nr,
15-
const unsigned char *key);
1610
#endif

0 commit comments

Comments
 (0)