summaryrefslogtreecommitdiff
path: root/builtin-branch.c
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2007-06-07 22:45:00 +0200
committerJunio C Hamano <gitster@pobox.com>2007-06-08 02:37:19 -0700
commit52fae7de4e8455dad048f1b8a645729571c42848 (patch)
tree65c143e2a9753621414dffd586b5f9cd43a7fef5 /builtin-branch.c
parente1944f4074f845e4dd15fb77856b4463f51c7d81 (diff)
downloadgit-52fae7de4e8455dad048f1b8a645729571c42848.tar.gz
Missing statics.
Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-branch.c')
-rw-r--r--builtin-branch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-branch.c b/builtin-branch.c
index 67f46c1ae2..da480519d7 100644
--- a/builtin-branch.c
+++ b/builtin-branch.c
@@ -55,7 +55,7 @@ static int parse_branch_color_slot(const char *var, int ofs)
die("bad config variable '%s'", var);
}
-int git_branch_config(const char *var, const char *value)
+static int git_branch_config(const char *var, const char *value)
{
if (!strcmp(var, "color.branch")) {
branch_use_color = git_config_colorbool(var, value);
@@ -72,7 +72,7 @@ int git_branch_config(const char *var, const char *value)
return git_default_config(var, value);
}
-const char *branch_get_color(enum color_branch ix)
+static const char *branch_get_color(enum color_branch ix)
{
if (branch_use_color)
return branch_colors[ix];