Skip to content

Commit

Permalink
rev-list: make "estimate_bisect_steps" non static
Browse files Browse the repository at this point in the history
Because it will be used from "bisect.c" too.

Signed-off-by: Christian Couder <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
chriscool authored and gitster committed May 10, 2009
1 parent f01f109 commit 1c87654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bisect.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion builtin-rev-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1c87654

Please sign in to comment.