From: Christian Couder Date: Fri, 25 Aug 2017 07:36:13 +0000 (+0200) Subject: sha1-lookup: remove sha1_entry_pos() from header file X-Git-Tag: v2.15.0-rc0~103^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39b00fa4d41d0fae458d03df0ebc0bf7dfde6ac8;p=thirdparty%2Fgit.git 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 Acked-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/sha1-lookup.h b/sha1-lookup.h index 20af285681..cf5314f402 100644 --- a/sha1-lookup.h +++ b/sha1-lookup.h @@ -7,10 +7,4 @@ extern int sha1_pos(const unsigned char *sha1, void *table, size_t nr, sha1_access_fn fn); - -extern int sha1_entry_pos(const void *table, - size_t elem_size, - size_t key_offset, - unsigned lo, unsigned hi, unsigned nr, - const unsigned char *key); #endif