{"thread":{"id":"18945","subject":"[PATCH 1/5] rev-list: make \"estimate_bisect_steps\" non static","startedAt":"2009-04-19T09:55:38Z","lastAt":"2009-04-19T09:55:38Z","messageCount":1,"participants":["Christian Couder"],"isPatch":true,"patchVersion":1,"patchTotal":5},"messages":[{"id":"111635","messageId":"20090419115538.2c8aae2a.chriscool@tuxfamily.org","threadId":"18945","inReplyTo":null,"subject":"[PATCH 1/5] rev-list: make \"estimate_bisect_steps\" non static","fromName":"Christian Couder","fromEmail":"chriscool@tuxfamily.org","sentAt":"2009-04-19T09:55:38Z","receivedAt":"2009-04-19T09:55:38Z","isPatch":true,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"Because it will be used from \"bisect.c\" too.\n\nSigned-off-by: Christian Couder <chriscool@tuxfamily.org>\n---\n bisect.h           |    2 ++\n builtin-rev-list.c |    2 +-\n 2 files changed, 3 insertions(+), 1 deletions(-)\n\ndiff --git a/bisect.h b/bisect.h\nindex fdba913..cb37ddf 100644\n--- a/bisect.h\n+++ b/bisect.h\n@@ -26,4 +26,6 @@ extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all);\n \n extern int bisect_next_vars(const char *prefix);\n \n+extern int estimate_bisect_steps(int all);\n+\n #endif\ndiff --git a/builtin-rev-list.c b/builtin-rev-list.c\nindex 38a8f23..4c5f5ee 100644\n--- a/builtin-rev-list.c\n+++ b/builtin-rev-list.c\n@@ -211,7 +211,7 @@ static inline int exp2i(int n)\n  *\n  * and P(2^n + x) < 0.5 means 2^n < 3x\n  */\n-static int estimate_bisect_steps(int all)\n+int estimate_bisect_steps(int all)\n {\n \tint n, x, e;\n \n-- \n1.6.2.2.537.g3b83b\n"}]}