diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-11-10 08:49:10 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-12 08:50:06 +0300 |
commit | 36e7ed69de2c07a0214e79bde45714b92ac30ff2 (patch) | |
tree | 97cb7b7dcbfe7385d6f21ff994fa60937e681069 /rebase-interactive.h | |
parent | 55e6b3547d4a678e56e3aef16ad3a3c90351325a (diff) |
rebase-interactive.c: remove the_repository references
While at there add a forward declaration for struct strbuf.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'rebase-interactive.h')
-rw-r--r-- | rebase-interactive.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rebase-interactive.h b/rebase-interactive.h index 971da03776..17b6c9f6d0 100644 --- a/rebase-interactive.h +++ b/rebase-interactive.h @@ -1,8 +1,11 @@ #ifndef REBASE_INTERACTIVE_H #define REBASE_INTERACTIVE_H +struct strbuf; +struct repository; + void append_todo_help(unsigned edit_todo, unsigned keep_empty, struct strbuf *buf); -int edit_todo_list(unsigned flags); +int edit_todo_list(struct repository *r, unsigned flags); #endif |