projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0613ce
)
pack-objects: mark file-local variable static
author
Jonathan Nieder
<jrnieder@gmail.com>
Sat, 6 Nov 2010 11:47:57 +0000
(06:47 -0500)
committer
Junio 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
patch
|
blob
|
history
diff --git
a/builtin/pack-objects.c
b/builtin/pack-objects.c
index f8eba53c82242d0c435524ab9ffab70ba2e2d5ad..7471c92b9323839d0fe675366c7c7ebd1872a081 100644
(file)
--- 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