commit - b014688450b82c8e6943897ede07d2db3cd9c6e0
commit + c8988c682e5eb92c15cee0aa628517b6e3fdfc13
blob - b0d1cc7239e701176d2a4a0c126a32360d8ba737
blob + 84aa5d3962cb8849530acd617a99006124b88f9b
--- lib/got_file_index_priv.h
+++ lib/got_file_index_priv.h
* applied back to the filesystem.
*/
struct got_file_index_entry {
+ TAILQ_ENTRY(, got_file_index_entry) entry;
uint64_t ctime_sec;
uint64_t ctime_nsec;
uint64_t mtime_sec;
uint32_t signature; /* big-endian on disk */
uint32_t version; /* big-endian on disk */
uint32_t nentries; /* big-endian on disk */
- struct got_file_index_entry *entries; /* big-endian on disk */
+ TAILQ_HEAD(, got_file_index_entry) entries;
uint8_t sha1[SHA1_DIGEST_LENGTH]; /* checksum of above on-disk data */
};