diff options
author | Elijah Newren <newren@gmail.com> | 2018-08-15 19:54:05 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-15 20:52:09 +0200 |
commit | ef3ca95475ce467ae883cc8175ed40e6f7d27800 (patch) | |
tree | fe44271647b22756c3d53225658287119a3c34cd /list-objects.h | |
parent | Fifth batch for 2.19 cycle (diff) | |
download | git-ef3ca95475ce467ae883cc8175ed40e6f7d27800.tar.xz git-ef3ca95475ce467ae883cc8175ed40e6f7d27800.zip |
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 'list-objects.h')
-rw-r--r-- | list-objects.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/list-objects.h b/list-objects.h index aa618d7f45..ad40762926 100644 --- a/list-objects.h +++ b/list-objects.h @@ -1,6 +1,10 @@ #ifndef LIST_OBJECTS_H #define LIST_OBJECTS_H +struct commit; +struct object; +struct rev_info; + typedef void (*show_commit_fn)(struct commit *, void *); typedef void (*show_object_fn)(struct object *, const char *, void *); void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *); |