From: Christian Couder Date: Sun, 19 Apr 2009 09:55:38 +0000 (+0200) Subject: rev-list: make "estimate_bisect_steps" non static X-Git-Tag: v1.6.4-rc0~24^2~29 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1c876546bda5dde35d4ae887ad6d24ed16ec953a;p=git.git rev-list: make "estimate_bisect_steps" non static Because it will be used from "bisect.c" too. Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- diff --git a/bisect.h b/bisect.h index fdba91387..cb37ddfac 100644 --- a/bisect.h +++ b/bisect.h @@ -26,4 +26,6 @@ extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all); extern int bisect_next_vars(const char *prefix); +extern int estimate_bisect_steps(int all); + #endif diff --git a/builtin-rev-list.c b/builtin-rev-list.c index 38a8f234d..4c5f5eec0 100644 --- a/builtin-rev-list.c +++ b/builtin-rev-list.c @@ -211,7 +211,7 @@ static inline int exp2i(int n) * * and P(2^n + x) < 0.5 means 2^n < 3x */ -static int estimate_bisect_steps(int all) +int estimate_bisect_steps(int all) { int n, x, e;