diff mbox series

[3/4] log-tree.h: remove unused function declarations

Message ID patch-3.4-899d5d1c5e4-20210928T125228Z-avarab@gmail.com (mailing list archive)
State Accepted
Commit 067e73c8aee9aeb05eac939205274cd2ad8b7cae
Headers show
Series *.h: remove dead function declarations | expand

Commit Message

Ævar Arnfjörð Bjarmason Oct. 1, 2021, 10:37 a.m. UTC
The init_log_tree_opt() and log_tree_opt_parse() functions were
removed in cd2bdc53094 (Common option parsing for "git log --diff" and
friends, 2006-04-14), but not their corresponding *.h declaration.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
 log-tree.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/log-tree.h b/log-tree.h
index 1e8c91dbf21..e7e4641cf83 100644
--- a/log-tree.h
+++ b/log-tree.h
@@ -14,10 +14,8 @@  struct decoration_filter {
 };
 
 int parse_decorate_color_config(const char *var, const char *slot_name, const char *value);
-void init_log_tree_opt(struct rev_info *);
 int log_tree_diff_flush(struct rev_info *);
 int log_tree_commit(struct rev_info *, struct commit *);
-int log_tree_opt_parse(struct rev_info *, const char **, int);
 void show_log(struct rev_info *opt);
 void format_decorations_extended(struct strbuf *sb, const struct commit *commit,
 			     int use_color,