@matheusbsbs / matheus-bagliano / commits / 1c876546bd
Fork 0

rev-list: make "estimate_bisect_steps" non static

Because it will be used from "bisect.c" too. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Christian Couder committed Apr 19, 2009 at 11:55 UTC 1c876546bda5dde35d4ae887ad6d24ed16ec953a
2 files changed +3 -1
bisect.h
+2
@@ -26,4 +26,6 @@ extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all);
26
27 extern int bisect_next_vars(const char *prefix);
28
29 +extern int estimate_bisect_steps(int all);
30 +
31 #endif
builtin-rev-list.c
+1 -1
@@ -211,7 +211,7 @@ static inline int exp2i(int n)
211 *
212 * and P(2^n + x) < 0.5 means 2^n < 3x
213 */
214 -static int estimate_bisect_steps(int all)
214 +int estimate_bisect_steps(int all)
215 {
216 int n, x, e;
217