summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-11 22:21:18 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-11 23:16:16 -0800
commitf1c92c6369511396ab3a409b5c9957066b72f6a3 (patch)
treefceb58dde7a354ee07aaceed745ef2506c31ebed
parentebdc302e3e930ec7f3f6e818ecc815a7a5f01781 (diff)
downloadgit-f1c92c6369511396ab3a409b5c9957066b72f6a3.tar.gz
builtin-rev-list.c: mark file-local function static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--bisect.h2
-rw-r--r--builtin-rev-list.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/bisect.h b/bisect.h
index 82f8fc1910..0862ce56d7 100644
--- a/bisect.h
+++ b/bisect.h
@@ -27,8 +27,6 @@ struct rev_list_info {
const char *header_prefix;
};
-extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all);
-
extern int bisect_next_all(const char *prefix);
extern int estimate_bisect_steps(int all);
diff --git a/builtin-rev-list.c b/builtin-rev-list.c
index cd97ded4d2..c924b3a2c7 100644
--- a/builtin-rev-list.c
+++ b/builtin-rev-list.c
@@ -253,7 +253,7 @@ static void print_var_int(const char *var, int val)
printf("%s=%d\n", var, val);
}
-int show_bisect_vars(struct rev_list_info *info, int reaches, int all)
+static int show_bisect_vars(struct rev_list_info *info, int reaches, int all)
{
int cnt, flags = info->bisect_show_flags;
char hex[41] = "";