summaryrefslogtreecommitdiffstats
path: root/shallow.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-22 07:22:23 +0100
committerJunio C Hamano <junkio@cox.net>2007-01-22 07:22:23 +0100
commitf43117a6c134f3b7873983eae0df1cc14b270ff1 (patch)
treeeddfa9e4660e32c43bc22b1cc126d6c8443e5057 /shallow.c
parentMake sure git_connect() always give two file descriptors. (diff)
downloadgit-f43117a6c134f3b7873983eae0df1cc14b270ff1.tar.xz
git-f43117a6c134f3b7873983eae0df1cc14b270ff1.zip
is_repository_shallow(): prototype fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to '')
-rw-r--r--shallow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shallow.c b/shallow.c
index 3d53d17423..d17868929c 100644
--- a/shallow.c
+++ b/shallow.c
@@ -17,7 +17,7 @@ int register_shallow(const unsigned char *sha1)
return register_commit_graft(graft, 0);
}
-int is_repository_shallow()
+int is_repository_shallow(void)
{
FILE *fp;
char buf[1024];