threads / patch / 49374

patch, 9 partsmidx.h: add missing forward declarations (hdr-check)

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

## tl;dr

2 messages between Sep 19, 2018 and Sep 20, 2018. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Ramsay Jones· Sep 19, 2018, 00:13 UTC · lore
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
 midx.h | 3 +++
 1 file changed, 3 insertions(+)
Show changes to midx.h +3 −0
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;
 
-- 
2.19.0
Derrick Stolee· Sep 19, 2018, 23:35 UTC · re: Ramsay Jones · lore

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

On 9/18/2018 8:13 PM, Ramsay Jones wrote:
Show 19 quoted lines
> 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>

← back to recent threads