Skip to content

Commit

Permalink
pack-objects: mark file-local variable static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonathan Nieder authored and Junio C Hamano committed Nov 10, 2010
1 parent b0613ce commit bc9b217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/pack-objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc9b217

Please sign in to comment.