diff options
author | Junio C Hamano <junkio@cox.net> | 2007-01-21 22:22:23 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-21 22:22:23 -0800 |
commit | f43117a6c134f3b7873983eae0df1cc14b270ff1 (patch) | |
tree | eddfa9e4660e32c43bc22b1cc126d6c8443e5057 | |
parent | ec587fde0a76780931c7ac32474c8c000aa45134 (diff) | |
download | git-f43117a6c134f3b7873983eae0df1cc14b270ff1.tar.gz git-f43117a6c134f3b7873983eae0df1cc14b270ff1.tar.xz |
is_repository_shallow(): prototype fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r-- | commit.h | 2 | ||||
-rw-r--r-- | shallow.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -110,7 +110,7 @@ extern struct commit_list *get_merge_bases(struct commit *rev1, struct commit *r extern int register_shallow(const unsigned char *sha1); extern int unregister_shallow(const unsigned char *sha1); extern int write_shallow_commits(int fd, int use_pack_protocol); -extern int is_repository_shallow(); +extern int is_repository_shallow(void); extern struct commit_list *get_shallow_commits(struct object_array *heads, int depth, int shallow_flag, int not_shallow_flag); @@ -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]; |