summaryrefslogtreecommitdiff
path: root/builtin-branch.c
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2007-06-07 20:45:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-06-08 09:37:19 (GMT)
commit52fae7de4e8455dad048f1b8a645729571c42848 (patch)
tree65c143e2a9753621414dffd586b5f9cd43a7fef5 /builtin-branch.c
parente1944f4074f845e4dd15fb77856b4463f51c7d81 (diff)
downloadgit-52fae7de4e8455dad048f1b8a645729571c42848.zip
git-52fae7de4e8455dad048f1b8a645729571c42848.tar.gz
git-52fae7de4e8455dad048f1b8a645729571c42848.tar.bz2
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 67f46c1..da48051 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];