aboutsummaryrefslogtreecommitdiff
path: root/local-pull.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-22 11:54:17 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-22 11:54:17 -0700
commit6b0c3121061df6b323f430700e8077b324b5e9dd (patch)
treed37bc2285bf562dfaf163462ce3a470cec4a7654 /local-pull.c
parentca67f002194cfe00ec349c7d4e2c936e35f8c669 (diff)
downloadgit-6b0c3121061df6b323f430700e8077b324b5e9dd.tar.gz
git-6b0c3121061df6b323f430700e8077b324b5e9dd.tar.xz
Include file cleanups..
Add <limits.h> to the include files handled by "cache.h", and remove extraneous #include directives from various .c files. The rule is that "cache.h" gets all the basic stuff, so that we'll have as few system dependencies as possible.
Diffstat (limited to 'local-pull.c')
-rw-r--r--local-pull.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/local-pull.c b/local-pull.c
index 3a342ab18..10d4ca890 100644
--- a/local-pull.c
+++ b/local-pull.c
@@ -1,15 +1,8 @@
/*
* Copyright (C) 2005 Junio C Hamano
*/
-#include <fcntl.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <limits.h>
#include "cache.h"
#include "commit.h"
-#include <errno.h>
-#include <stdio.h>
#include "pull.h"
static int use_link = 0;