sequencer: refactor transform_todos() to work on a todo_list
[gitweb.git] / rebase-interactive.h
index 155219e742d22398522568928b1571d09dcbe149..17b6c9f6d05ea2372c58a50679cb0f8fb808aaef 100644 (file)
@@ -1,7 +1,11 @@
 #ifndef REBASE_INTERACTIVE_H
 #define REBASE_INTERACTIVE_H
 
-int append_todo_help(unsigned edit_todo, unsigned keep_empty);
-int edit_todo_list(unsigned flags);
+struct strbuf;
+struct repository;
+
+void append_todo_help(unsigned edit_todo, unsigned keep_empty,
+                     struct strbuf *buf);
+int edit_todo_list(struct repository *r, unsigned flags);
 
 #endif