# [PATCH] rebase-interactive.h: fix hdr-check warnings

1 messages from 2019-01-13 to 2019-01-13. Participants: Ramsay Jones.
Thread: https://gitlist.dev/t/50215

## Ramsay Jones, 2019-01-13 21:00

Subject: [PATCH] rebase-interactive.h: fix hdr-check warnings
Message-ID: <d414e1a2-e5a1-ce15-96b5-cf294c7f3c92@ramsayjones.plus.com>
URL: https://gitlist.dev/e/d414e1a2-e5a1-ce15-96b5-cf294c7f3c92%40ramsayjones.plus.com

```

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---

Hi Alban,

If you need to re-roll your 'ag/sequencer-reduce-rewriting-todo' branch,
could you please squash this into the relevant patch [commit c27b32f0ec4
("sequencer: refactor check_todo_list() to work on a todo_list",
2018-12-29)].

[Both commit e5b1c9d9299 and c27b32f0ec4 add function declarations
that cause the hdr-check target to complain about the lack of a
declaration for 'struct todo_list'. However, c27b32f0ec4 is earlier
in the branch ...].

Thanks!

ATB,
Ramsay Jones

 rebase-interactive.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rebase-interactive.h b/rebase-interactive.h
index 42cc3f865d..44dbb06311 100644
--- a/rebase-interactive.h
+++ b/rebase-interactive.h
@@ -3,6 +3,7 @@
 
 struct strbuf;
 struct repository;
+struct todo_list;
 
 void append_todo_help(unsigned keep_empty, int command_count,
 		      const char *shortrevisions, const char *shortonto,
-- 
2.20.0

```
