From: Jonathan Nieder Date: Sat, 6 Nov 2010 11:47:57 +0000 (-0500) Subject: pack-objects: mark file-local variable static X-Git-Tag: v1.7.4-rc0~89^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc9b21755ebf82d06a60886947bdbd8d0f14baf1;p=git.git 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 Signed-off-by: Junio C Hamano --- 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