diff options
author | Elijah Newren <newren@gmail.com> | 2018-08-15 20:54:05 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-15 21:52:09 +0300 |
commit | ef3ca95475ce467ae883cc8175ed40e6f7d27800 (patch) | |
tree | fe44271647b22756c3d53225658287119a3c34cd /submodule.h | |
parent | 1d89318c48d233d52f1db230cf622935ac3c69fa (diff) |
Add missing includes and forward declarations
I looped over the toplevel header files, creating a temporary two-line C
program for each consisting of
#include "git-compat-util.h"
#include $HEADER
This patch is the result of manually fixing errors in compiling those
tiny programs.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
-rw-r--r-- | submodule.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/submodule.h b/submodule.h index 4644683e6c..3adbc08915 100644 --- a/submodule.h +++ b/submodule.h @@ -1,11 +1,17 @@ #ifndef SUBMODULE_H #define SUBMODULE_H -struct repository; -struct diff_options; struct argv_array; +struct cache_entry; +struct diff_options; +struct index_state; +struct object_id; struct oid_array; +struct pathspec; struct remote; +struct repository; +struct string_list; +struct strbuf; enum { RECURSE_SUBMODULES_ONLY = -5, |