builtin-clone.c: make junk_pid static
authorAli Gholami Rudi <ali@rudi.ir>
Wed, 1 Apr 2009 08:04:44 +0000 (12:34 +0430)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Apr 2009 15:57:39 +0000 (08:57 -0700)
junk_pid is used only in builtin-clone.c.

Signed-off-by: Ali Gholami Rudi <ali@rudi.ir>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c

index 0031b5f51cd96525a265dab02494700e9d36fce8..736c72c2360e4cebeafeba350af9d86d8be4c849 100644 (file)
@@ -270,7 +270,7 @@ static const struct ref *clone_local(const char *src_repo,
 
 static const char *junk_work_tree;
 static const char *junk_git_dir;
-pid_t junk_pid;
+static pid_t junk_pid;
 
 static void remove_junk(void)
 {