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>maint
parent
f01f1099f4
commit
1c876546bd
2
bisect.h
2
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 bisect_next_vars(const char *prefix);
|
||||||
|
|
||||||
|
extern int estimate_bisect_steps(int all);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -211,7 +211,7 @@ static inline int exp2i(int n)
|
||||||
*
|
*
|
||||||
* and P(2^n + x) < 0.5 means 2^n < 3x
|
* 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;
|
int n, x, e;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue