From f1c92c6369511396ab3a409b5c9957066b72f6a3 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 11 Jan 2010 22:21:18 -0800 Subject: [PATCH] builtin-rev-list.c: mark file-local function static Signed-off-by: Junio C Hamano --- bisect.h | 2 -- builtin-rev-list.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bisect.h b/bisect.h index 82f8fc191..0862ce56d 100644 --- a/bisect.h +++ b/bisect.h @@ -27,8 +27,6 @@ struct rev_list_info { const char *header_prefix; }; -extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all); - extern int bisect_next_all(const char *prefix); extern int estimate_bisect_steps(int all); diff --git a/builtin-rev-list.c b/builtin-rev-list.c index cd97ded4d..c924b3a2c 100644 --- a/builtin-rev-list.c +++ b/builtin-rev-list.c @@ -253,7 +253,7 @@ static void print_var_int(const char *var, int val) printf("%s=%d\n", var, val); } -int show_bisect_vars(struct rev_list_info *info, int reaches, int all) +static int show_bisect_vars(struct rev_list_info *info, int reaches, int all) { int cnt, flags = info->bisect_show_flags; char hex[41] = ""; -- 2.26.2