pack-objects: mark file-local variable static
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 6 Nov 2010 11:47:57 +0000 (06:47 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Nov 2010 19:08:04 +0000 (11:08 -0800)
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>
builtin/pack-objects.c

index f8eba53c82242d0c435524ab9ffab70ba2e2d5ad..7471c92b9323839d0fe675366c7c7ebd1872a081 100644 (file)
@@ -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