diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-10-06 13:40:14 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-06 13:40:14 -0700 |
commit | e10bfe7b339d8740f0a350a27f9aaa547db04635 (patch) | |
tree | f3ab3a499ade71a625d28d731b17e740417ba740 | |
parent | Merge branch 'lh/systemd-timers' (diff) | |
parent | config.h: remove unused git_config_get_untracked_cache() declaration (diff) | |
download | tgif-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.h | 1 | ||||
-rw-r--r-- | config.h | 1 | ||||
-rw-r--r-- | grep.h | 1 | ||||
-rw-r--r-- | log-tree.h | 2 |
4 files changed, 0 insertions, 5 deletions
@@ -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); @@ -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); @@ -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, |