summaryrefslogtreecommitdiff
path: root/src/sha1_lookup.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-08-14 10:28:01 +0200
committerVicent Marti <tanoku@gmail.com>2013-08-14 10:28:01 +0200
commit67591c8cd8d55e6f3218f1a734385c845459e1ff (patch)
treeefd5a6d78aab89b2be399216668cfcf886e380cf /src/sha1_lookup.h
parent2af9bcb2dbb47adafa7eecbf41ff113da7fa9d1b (diff)
downloadlibgit2-67591c8cd8d55e6f3218f1a734385c845459e1ff.tar.gz
sha1_lookup: do not use the "experimental" lookup mode
Diffstat (limited to 'src/sha1_lookup.h')
-rw-r--r--src/sha1_lookup.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sha1_lookup.h b/src/sha1_lookup.h
index 9a3537273..3799620c7 100644
--- a/src/sha1_lookup.h
+++ b/src/sha1_lookup.h
@@ -15,4 +15,9 @@ int sha1_entry_pos(const void *table,
unsigned lo, unsigned hi, unsigned nr,
const unsigned char *key);
+int sha1_position(const void *table,
+ size_t stride,
+ unsigned lo, unsigned hi,
+ const unsigned char *key);
+
#endif