aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-11-06 06:47:57 -0500
committerJunio C Hamano <gitster@pobox.com>2010-11-10 11:08:04 -0800
commitbc9b21755ebf82d06a60886947bdbd8d0f14baf1 (patch)
treefaa7749b3942bb501b8024a5a9ce4bd85223385c /builtin
parentb0613ce0f9ef3fd111f8c75b84ddd12f9f04fc87 (diff)
downloadgit-bc9b21755ebf82d06a60886947bdbd8d0f14baf1.tar.gz
git-bc9b21755ebf82d06a60886947bdbd8d0f14baf1.tar.xz
pack-objects: mark file-local variable static
old_try_to_free_routine is not meant for use from other files. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/pack-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c
index f8eba53c8..7471c92b9 100644
--- a/builtin/pack-objects.c
+++ b/builtin/pack-objects.c
@@ -1529,7 +1529,7 @@ static void try_to_free_from_threads(size_t size)
read_unlock();
}
-try_to_free_t old_try_to_free_routine;
+static try_to_free_t old_try_to_free_routine;
/*
* The main thread waits on the condition that (at least) one of the workers