#include "git-compat-util.h"
#include "strbuf.h"
#include "hashmap.h"
+#include "list.h"
#include "advice.h"
#include "gettext.h"
#include "convert.h"
extern struct packed_git {
struct packed_git *next;
+ struct list_head mru;
struct pack_window *windows;
off_t pack_size;
const void *index_data;
} *packed_git;
/*
- * A most-recently-used ordered version of the packed_git list, which can
- * be iterated instead of packed_git (and marked via mru_mark).
+ * A most-recently-used ordered version of the packed_git list.
*/
-struct mru;
-extern struct mru *packed_git_mru;
+extern struct list_head packed_git_mru;
struct pack_entry {
off_t offset;