summaryrefslogtreecommitdiff
path: root/sequencer.h
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsayjones.plus.com>2019-02-11 17:16:58 +0000
committerJunio C Hamano <gitster@pobox.com>2019-02-11 13:10:57 -0800
commit5fe81438b52f8464947e5b27381a898d7451260e (patch)
tree6c570e2e27e2337d9c45a7ff76253b634f517cce /sequencer.h
parent268fbcd172cdb306e8a3e7143cc16677c963d6cd (diff)
downloadgit-5fe81438b52f8464947e5b27381a898d7451260e.tar.gz
sequencer: make sign_off_header a file local symbol
Commit d0aaa46fd3 ("commit: move empty message checks to libgit", 2017-11-10) removes the last use of 'sign_off_header' outside of the "sequencer.c" source file. Remove the extern declaration from the header file and mark the definition of the symbol with the static keyword. Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.h')
-rw-r--r--sequencer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sequencer.h b/sequencer.h
index c5787c6b56..e025deb007 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -83,8 +83,6 @@ int check_todo_list(void);
int skip_unnecessary_picks(void);
int rearrange_squash(void);
-extern const char sign_off_header[];
-
void append_signoff(struct strbuf *msgbuf, int ignore_footer, unsigned flag);
void append_conflicts_hint(struct strbuf *msgbuf);
int message_is_empty(const struct strbuf *sb,