summaryrefslogtreecommitdiff
path: root/builtin/pack-objects.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-11-06 11:47:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-10 19:08:04 (GMT)
commitbc9b21755ebf82d06a60886947bdbd8d0f14baf1 (patch)
treefaa7749b3942bb501b8024a5a9ce4bd85223385c /builtin/pack-objects.c
parentb0613ce0f9ef3fd111f8c75b84ddd12f9f04fc87 (diff)
downloadgit-bc9b21755ebf82d06a60886947bdbd8d0f14baf1.zip
git-bc9b21755ebf82d06a60886947bdbd8d0f14baf1.tar.gz
git-bc9b21755ebf82d06a60886947bdbd8d0f14baf1.tar.bz2
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/pack-objects.c')
-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 f8eba53..7471c92 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