Skip to content

Commit

Permalink
is_repository_shallow(): prototype fix.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Jan 22, 2007
1 parent ec587fd commit f43117a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commit.h
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion shallow.c
Expand Up @@ -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];
Expand Down

0 comments on commit f43117a

Please sign in to comment.