remote: add promisor and partial clone config to the doc
[gitweb.git] / sha1-lookup.h
index 7678b23b36c291c7b1b6656e0c42fc14ea12da15..5afcd011c6be3c7b9add226b098860b88c77c2fd 100644 (file)
@@ -3,10 +3,10 @@
 
 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);
+int sha1_pos(const unsigned char *sha1,
+            void *table,
+            size_t nr,
+            sha1_access_fn fn);
 
 /*
  * Searches for sha1 in table, using the given fanout table to determine the