sha1-lookup: remove sha1_entry_pos() from header file

Since f1068efefe (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 <chriscool@tuxfamily.org> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Christian Couder committed Aug 25, 2017 at 09:36 UTC 39b00fa4d41d0fae458d03df0ebc0bf7dfde6ac8
1 file changed -6
sha1-lookup.h
-6
@@ -7,10 +7,4 @@ extern int sha1_pos(const unsigned char *sha1,
7 void *table,
8 size_t nr,
9 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);
10 #endif