From 6bb7aa1318f7f31a346c71ef81d2b33c6fd41600 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Fri, 28 May 2010 01:48:59 +0200 Subject: Added new error codes. Improved error handling. Signed-off-by: Vicent Marti Signed-off-by: Andreas Ericsson --- src/commit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commit.h') diff --git a/src/commit.h b/src/commit.h index c62b80f26..760529d87 100644 --- a/src/commit.h +++ b/src/commit.h @@ -44,8 +44,8 @@ void git_commit__mark_uninteresting(git_commit *commit); int git_commit_parse_existing(git_commit *commit); -void git_commit_list_push_back(git_commit_list *list, git_commit *commit); -void git_commit_list_push_front(git_commit_list *list, git_commit *commit); +int git_commit_list_push_back(git_commit_list *list, git_commit *commit); +int git_commit_list_push_front(git_commit_list *list, git_commit *commit); git_commit *git_commit_list_pop_back(git_commit_list *list); git_commit *git_commit_list_pop_front(git_commit_list *list); -- cgit v1.2.1