mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
![Christian Couder](/assets/img/avatar_default.png)
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>
11 lines
234 B
C
11 lines
234 B
C
#ifndef SHA1_LOOKUP_H
|
|
#define SHA1_LOOKUP_H
|
|
|
|
typedef const unsigned char *sha1_access_fn(size_t index, void *table);
|
|
|
|
extern int sha1_pos(const unsigned char *sha1,
|
|
void *table,
|
|
size_t nr,
|
|
sha1_access_fn fn);
|
|
#endif
|