summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorしらいしななこ <nanako3@lavabit.com>2008-06-19 08:21:11 +0900
committerJunio C Hamano <gitster@pobox.com>2008-06-19 17:07:41 -0700
commite4bffb5a1d9ab3c9c0ef0541a395d47516480d97 (patch)
treeba11f4fc978241009669881a9aa4c5c96f594d3b /config.c
parent78d0f5d210bc053d961185be6cfb0e248a0bdda3 (diff)
downloadgit-e4bffb5a1d9ab3c9c0ef0541a395d47516480d97.tar.gz
config.c: make git_env_bool() static
This function is not used by any other file. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index c2f2bbb000..04d97e3d0b 100644
--- a/config.c
+++ b/config.c
@@ -549,7 +549,7 @@ const char *git_etc_gitconfig(void)
return system_wide;
}
-int git_env_bool(const char *k, int def)
+static int git_env_bool(const char *k, int def)
{
const char *v = getenv(k);
return v ? git_config_bool(k, v) : def;