optimize verify-pack a bit
[git/git.git] / sha1_file.c
index b2db549..e79b2c1 100644 (file)
@@ -1714,7 +1714,7 @@ const unsigned char *nth_packed_object_sha1(struct packed_git *p,
        }
 }
 
        }
 }
 
-static off_t nth_packed_object_offset(const struct packed_git *p, uint32_t n)
+off_t nth_packed_object_offset(const struct packed_git *p, uint32_t n)
 {
        const unsigned char *index = p->index_data;
        index += 4 * 256;
 {
        const unsigned char *index = p->index_data;
        index += 4 * 256;