Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
lock_file: make function-local locks non-static
[gitweb.git]
/
fast-import.c
diff --git
a/fast-import.c
b/fast-import.c
index b5db5d20b1b20c642cf97f990eb538ee6fbaa299..2bce22ae0c90c22783a135cd62aa7940c4860b96 100644
(file)
--- a/
fast-import.c
+++ b/
fast-import.c
@@
-1858,7
+1858,7
@@
static void dump_marks_helper(FILE *f,
static void dump_marks(void)
{
- st
atic struct lock_file mark_lock
;
+ st
ruct lock_file mark_lock = LOCK_INIT
;
FILE *f;
if (!export_marks_file || (import_marks_file && !import_marks_file_done))