threads / patch / 50215

patchrebase-interactive.h: fix hdr-check warnings

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

## tl;dr

One message between Jan 13, 2019 and Jan 13, 2019. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Ramsay Jones· Jan 13, 2019, 21:00 UTC · lore
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(+)
Show changes to rebase-interactive.h +1 −0
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

← back to recent threads