rebase--interactive: move rearrange_squash_in_todo_file()
[gitweb.git] / rebase-interactive.h
index 155219e742d22398522568928b1571d09dcbe149..187b5032d67fc3caa9368398338834ffaaefe35d 100644 (file)
@@ -1,7 +1,13 @@
 #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;
+struct todo_list;
+
+void append_todo_help(unsigned edit_todo, unsigned keep_empty,
+                     struct strbuf *buf);
+int edit_todo_list(struct repository *r, unsigned flags);
+int todo_list_check(struct todo_list *old_todo, struct todo_list *new_todo);
 
 #endif