summaryrefslogtreecommitdiff
path: root/shallow.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-21 22:22:23 -0800
committerJunio C Hamano <junkio@cox.net>2007-01-21 22:22:23 -0800
commitf43117a6c134f3b7873983eae0df1cc14b270ff1 (patch)
treeeddfa9e4660e32c43bc22b1cc126d6c8443e5057 /shallow.c
parentec587fde0a76780931c7ac32474c8c000aa45134 (diff)
downloadgit-f43117a6c134f3b7873983eae0df1cc14b270ff1.tar.gz
is_repository_shallow(): prototype fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'shallow.c')
-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];