Teach core object handling functions about gitlinks
[gitweb.git] / shallow.c
index 3d53d17423a73a1e206ee631c33ec7a88c40707a..d17868929ceadbd2565549a60cb738a95c90a4bb 100644 (file)
--- 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];