git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5] rev-list: make "estimate_bisect_steps" non static
@ 2009-04-19  9:55 Christian Couder
  0 siblings, 0 replies; only message in thread
From: Christian Couder @ 2009-04-19  9:55 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Because it will be used from "bisect.c" too.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 bisect.h           |    2 ++
 builtin-rev-list.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/bisect.h b/bisect.h
index fdba913..cb37ddf 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 38a8f23..4c5f5ee 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;
 
-- 
1.6.2.2.537.g3b83b

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-19  9:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-19  9:55 [PATCH 1/5] rev-list: make "estimate_bisect_steps" non static Christian Couder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).