diff mbox series

[7/9] midx.h: add missing forward declarations (hdr-check)

Message ID 7b45f9df-5d46-7d75-02d0-457a8ccabf37@ramsayjones.plus.com (mailing list archive)
State New, archived
Headers show
Series [1/9] Makefile: add a hdr-check target | expand

Commit Message

Ramsay Jones Sept. 19, 2018, 12:13 a.m. UTC
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
 midx.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Derrick Stolee Sept. 19, 2018, 11:35 p.m. UTC | #1
On 9/18/2018 8:13 PM, Ramsay Jones wrote:
> Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
> ---
>   midx.h | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/midx.h b/midx.h
> index a210f1af2a..622ddac472 100644
> --- a/midx.h
> +++ b/midx.h
> @@ -3,6 +3,9 @@
>   
>   #include "repository.h"
>   
> +struct object_id;
> +struct pack_entry;
> +
>   struct multi_pack_index {
>   	struct multi_pack_index *next;
>   

Thanks for catching this!

Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
diff mbox series

Patch

diff --git a/midx.h b/midx.h
index a210f1af2a..622ddac472 100644
--- a/midx.h
+++ b/midx.h
@@ -3,6 +3,9 @@ 
 
 #include "repository.h"
 
+struct object_id;
+struct pack_entry;
+
 struct multi_pack_index {
 	struct multi_pack_index *next;