Commit 78727e915721cfd3a1033cd0a87081322297a1b0

Stefan Sperling 2018-03-11T14:02:12

add missing function declarations

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/got_fileindex_priv.h b/lib/got_fileindex_priv.h
index 732e8af..298e2ba 100644
--- a/lib/got_fileindex_priv.h
+++ b/lib/got_fileindex_priv.h
@@ -73,3 +73,7 @@ struct got_fileindex_hdr {
 	TAILQ_HEAD(, got_fileindex_entry) entries;
 	uint8_t sha1[SHA1_DIGEST_LENGTH]; /* checksum of above on-disk data */
 };
+
+const struct got_error *got_fileindex_entry_open(struct got_fileindex_entry **,
+    const char *, uint8_t *);
+void got_fileindex_entry_close(struct got_fileindex_entry *);