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>
Jonathan Nieder committed
Nov 6, 2010 at 06:47 UTC
bc9b21755ebf82d06a60886947bdbd8d0f14baf1
1 file changed
+1
-1
builtin/pack-objects.c
+1
-1
@@ -1529,7 +1529,7 @@ static void try_to_free_from_threads(size_t size)
1529
read_unlock();
1530
}
1531
1532
-try_to_free_t old_try_to_free_routine;
1532
+static try_to_free_t old_try_to_free_routine;
1533
1534
/*
1535
* The main thread waits on the condition that (at least) one of the workers