diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-11-06 06:47:57 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-10 11:08:04 -0800 |
commit | bc9b21755ebf82d06a60886947bdbd8d0f14baf1 (patch) | |
tree | faa7749b3942bb501b8024a5a9ce4bd85223385c /builtin | |
parent | wrapper: give zlib wrappers their own translation unit (diff) | |
download | tgif-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index f8eba53c82..7471c92b93 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 |