add missing function declarations
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 *);