Skip to content

Commit 109bcb7

Browse files
pks-tgitster
authored andcommitted
odb: drop unneeded headers and forward decls
There's a couple of unneeded forward declarations and headers in "odb.h". Drop these. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent c63911b commit 109bcb7

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

odb.h

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
#ifndef ODB_H
22
#define ODB_H
33

4-
#include "hashmap.h"
54
#include "object.h"
65
#include "oidset.h"
76
#include "oidmap.h"
87
#include "string-list.h"
98
#include "thread-utils.h"
109

11-
struct oidmap;
12-
struct oidtree;
10+
struct cached_object_entry;
11+
struct packed_git;
12+
struct repository;
1313
struct strbuf;
1414
struct strvec;
15-
struct repository;
16-
struct multi_pack_index;
1715

1816
/*
1917
* Set this to 0 to prevent odb_read_object_info_extended() from fetching missing
@@ -31,10 +29,6 @@ extern int fetch_if_missing;
3129
*/
3230
char *compute_alternate_path(const char *path, struct strbuf *err);
3331

34-
struct packed_git;
35-
struct packfile_store;
36-
struct cached_object_entry;
37-
3832
/*
3933
* A transaction may be started for an object database prior to writing new
4034
* objects via odb_transaction_begin(). These objects are not committed until

0 commit comments

Comments
 (0)