git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
f01f109
)
rev-list: make "estimate_bisect_steps" non static
author
Christian Couder
<redacted>
Sun, 19 Apr 2009 09:55:38 +0000
(11:55 +0200)
committer
Junio C Hamano
<redacted>
Sun, 10 May 2009 07:30:28 +0000
(
00:30
-0700)
Because it will be used from "bisect.c" too.
Signed-off-by: Christian Couder <redacted>
Signed-off-by: Junio C Hamano <redacted>
bisect.h
patch
|
blob
|
history
builtin-rev-list.c
patch
|
blob
|
history
diff --git
a/bisect.h
b/bisect.h
index fdba9138773f6f6a4f36655f81965e955e79b3bc..cb37ddfac0c3aaba4a55e148c61c3c91d5288243 100644
(file)
--- 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 38a8f234de8120d15eaff9ee0d342e334ee006ca..4c5f5eec0ede1d20e7cb3b568bfc8f4097295242 100644
(file)
--- 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;
git clone https://git.99rst.org/PROJECT