From a2c98829805a8b1ec0941cb507da826ced3c3473 Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Mon, 20 Nov 2017 20:27:07 +0000 Subject: sequencer: make sign_off_header a file local symbol Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano --- sequencer.c | 2 +- sequencer.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sequencer.c b/sequencer.c index 3804fa931d..21269fb082 100644 --- a/sequencer.c +++ b/sequencer.c @@ -18,7 +18,7 @@ #define GIT_REFLOG_ACTION "GIT_REFLOG_ACTION" -const char sign_off_header[] = "Signed-off-by: "; +static const char sign_off_header[] = "Signed-off-by: "; static const char cherry_picked_prefix[] = "(cherry picked from commit "; static GIT_PATH_FUNC(git_path_todo_file, SEQ_TODO_FILE) diff --git a/sequencer.h b/sequencer.h index 5ed5cb1d97..728dd5066e 100644 --- a/sequencer.h +++ b/sequencer.h @@ -50,8 +50,6 @@ struct replay_opts { int sequencer_pick_revisions(struct replay_opts *opts); -extern const char sign_off_header[]; - void append_signoff(struct strbuf *msgbuf, int ignore_footer, unsigned flag); void append_conflicts_hint(struct strbuf *msgbuf); -- cgit v1.2.1