@matheusbsbs / matheus-bagliano / commits / f43117a6c1
Fork 0

is_repository_shallow(): prototype fix.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Jan 21, 2007 at 22:22 UTC f43117a6c134f3b7873983eae0df1cc14b270ff1
2 files changed +2 -2
commit.h
+1 -1
@@ -110,7 +110,7 @@ extern struct commit_list *get_merge_bases(struct commit *rev1, struct commit *r
110 extern int register_shallow(const unsigned char *sha1);
111 extern int unregister_shallow(const unsigned char *sha1);
112 extern int write_shallow_commits(int fd, int use_pack_protocol);
113 -extern int is_repository_shallow();
113 +extern int is_repository_shallow(void);
114 extern struct commit_list *get_shallow_commits(struct object_array *heads,
115 int depth, int shallow_flag, int not_shallow_flag);
116
shallow.c
+1 -1
@@ -17,7 +17,7 @@ int register_shallow(const unsigned char *sha1)
17 return register_commit_graft(graft, 0);
18 }
19
20 -int is_repository_shallow()
20 +int is_repository_shallow(void)
21 {
22 FILE *fp;
23 char buf[1024];