summaryrefslogtreecommitdiff
path: root/builtin-clone.c
diff options
context:
space:
mode:
authorAli Gholami Rudi <ali@rudi.ir>2009-04-01 12:34:44 +0430
committerJunio C Hamano <gitster@pobox.com>2009-04-01 08:57:39 -0700
commite161acd11da05add6575a6931f4ff38a5685dd7d (patch)
tree21f19a279c81a413a66e535df3da9c7f30acd75c /builtin-clone.c
parent442dd42d6d4903640b0dc5561481a77c88dcea90 (diff)
downloadgit-e161acd11da05add6575a6931f4ff38a5685dd7d.tar.gz
builtin-clone.c: make junk_pid static
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>
Diffstat (limited to 'builtin-clone.c')
-rw-r--r--builtin-clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-clone.c b/builtin-clone.c
index 0031b5f51c..736c72c236 100644
--- a/builtin-clone.c
+++ b/builtin-clone.c
@@ -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)
{