summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-10-06 13:40:14 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-06 13:40:14 -0700
commite10bfe7b339d8740f0a350a27f9aaa547db04635 (patch)
treef3ab3a499ade71a625d28d731b17e740417ba740
parentMerge branch 'lh/systemd-timers' (diff)
parentconfig.h: remove unused git_config_get_untracked_cache() declaration (diff)
downloadtgif-e10bfe7b339d8740f0a350a27f9aaa547db04635.tar.xz
Merge branch 'ab/retire-decl-of-missing-unused-funcs'
Remove external declaration of functions that no longer exist. * ab/retire-decl-of-missing-unused-funcs: config.h: remove unused git_config_get_untracked_cache() declaration log-tree.h: remove unused function declarations grep.h: remove unused grep_threads_ok() declaration builtin.h: remove cmd_tar_tree() declaration
-rw-r--r--builtin.h1
-rw-r--r--config.h1
-rw-r--r--grep.h1
-rw-r--r--log-tree.h2
4 files changed, 0 insertions, 5 deletions
diff --git a/builtin.h b/builtin.h
index 16ecd5586f..8a58743ed6 100644
--- a/builtin.h
+++ b/builtin.h
@@ -225,7 +225,6 @@ int cmd_submodule__helper(int argc, const char **argv, const char *prefix);
int cmd_switch(int argc, const char **argv, const char *prefix);
int cmd_symbolic_ref(int argc, const char **argv, const char *prefix);
int cmd_tag(int argc, const char **argv, const char *prefix);
-int cmd_tar_tree(int argc, const char **argv, const char *prefix);
int cmd_unpack_file(int argc, const char **argv, const char *prefix);
int cmd_unpack_objects(int argc, const char **argv, const char *prefix);
int cmd_update_index(int argc, const char **argv, const char *prefix);
diff --git a/config.h b/config.h
index 147f5e0490..7378fc165f 100644
--- a/config.h
+++ b/config.h
@@ -609,7 +609,6 @@ int git_config_get_maybe_bool(const char *key, int *dest);
int git_config_get_pathname(const char *key, const char **dest);
int git_config_get_index_threads(int *dest);
-int git_config_get_untracked_cache(void);
int git_config_get_split_index(void);
int git_config_get_max_percent_split_change(void);
int git_config_get_fsmonitor(void);
diff --git a/grep.h b/grep.h
index 3cb8a83ae8..af1d579fe3 100644
--- a/grep.h
+++ b/grep.h
@@ -223,7 +223,6 @@ void grep_source_load_driver(struct grep_source *gs,
int grep_source(struct grep_opt *opt, struct grep_source *gs);
struct grep_opt *grep_opt_dup(const struct grep_opt *opt);
-int grep_threads_ok(const struct grep_opt *opt);
/*
* Mutex used around access to the attributes machinery if
diff --git a/log-tree.h b/log-tree.h
index 1e8c91dbf2..e7e4641cf8 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,