diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-10-16 16:16:00 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-16 16:16:00 +0900 |
commit | ff6bbce6e3dd89a5852ddb657554f9209091202e (patch) | |
tree | 85feca027ab0ad8b65df906bee7bb890967abc6f /refs | |
parent | Merge branch 'ma/config-doc-update' (diff) | |
parent | delta-islands.h: add missing forward declarations (hdr-check) (diff) | |
download | tgif-ff6bbce6e3dd89a5852ddb657554f9209091202e.tar.xz |
Merge branch 'rj/header-check'
Header files clean-up.
* rj/header-check:
delta-islands.h: add missing forward declarations (hdr-check)
midx.h: add missing forward declarations (hdr-check)
refs/refs-internal.h: add missing declarations (hdr-check)
refs/packed-backend.h: add missing declaration (hdr-check)
refs/ref-cache.h: add missing declarations (hdr-check)
ewah/ewok_rlw.h: add missing include (hdr-check)
json-writer.h: add missing include (hdr-check)
Makefile: add a hdr-check target
Diffstat (limited to 'refs')
-rw-r--r-- | refs/packed-backend.h | 2 | ||||
-rw-r--r-- | refs/ref-cache.h | 3 | ||||
-rw-r--r-- | refs/refs-internal.h | 4 |
3 files changed, 9 insertions, 0 deletions
diff --git a/refs/packed-backend.h b/refs/packed-backend.h index 640245d3b9..a01a0aff9c 100644 --- a/refs/packed-backend.h +++ b/refs/packed-backend.h @@ -1,6 +1,8 @@ #ifndef REFS_PACKED_BACKEND_H #define REFS_PACKED_BACKEND_H +struct ref_transaction; + /* * Support for storing references in a `packed-refs` file. * diff --git a/refs/ref-cache.h b/refs/ref-cache.h index eda65e73ed..3bfb89d2b3 100644 --- a/refs/ref-cache.h +++ b/refs/ref-cache.h @@ -1,7 +1,10 @@ #ifndef REFS_REF_CACHE_H #define REFS_REF_CACHE_H +#include "cache.h" + struct ref_dir; +struct ref_store; /* * If this ref_cache is filled lazily, this function is used to load diff --git a/refs/refs-internal.h b/refs/refs-internal.h index b425ae40b1..f2d8c0123a 100644 --- a/refs/refs-internal.h +++ b/refs/refs-internal.h @@ -1,8 +1,12 @@ #ifndef REFS_REFS_INTERNAL_H #define REFS_REFS_INTERNAL_H +#include "cache.h" +#include "refs.h" #include "iterator.h" +struct ref_transaction; + /* * Data structures and functions for the internal use of the refs * module. Code outside of the refs module should use only the public |