summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsayjones.plus.com>2017-11-20 20:27:07 +0000
committerJunio C Hamano <gitster@pobox.com>2017-11-21 10:03:30 +0900
commita2c98829805a8b1ec0941cb507da826ced3c3473 (patch)
tree6bcb8d104c77c16ce09f0b9e1a7d05745d0f4ab2
parent27dea4683b608c5c0487dee74cbda13b62803b73 (diff)
downloadgit-rj/sequencer-make-a-var-static.tar.gz
sequencer: make sign_off_header a file local symbolrj/sequencer-make-a-var-static
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--sequencer.c2
-rw-r--r--sequencer.h2
2 files changed, 1 insertions, 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);