Commit 136ec6c982b97cce2847aeba304d9562130f111c

Stefan Sperling 2021-06-22T19:18:55

forward-declare struct got_packidx to make got_lib_pack.h self-contained

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/got_lib_pack.h b/lib/got_lib_pack.h
index e2c8744..8bec2bc 100644
--- a/lib/got_lib_pack.h
+++ b/lib/got_lib_pack.h
@@ -24,6 +24,8 @@ struct got_pack {
 	struct got_delta_cache *delta_cache;
 };
 
+struct got_packidx;
+
 const struct got_error *got_pack_close(struct got_pack *);
 
 const struct got_error *got_pack_parse_offset_delta(off_t *, size_t *,