summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-05-28 01:48:59 +0200
committerAndreas Ericsson <ae@op5.se>2010-06-02 10:32:07 +0200
commit6bb7aa1318f7f31a346c71ef81d2b33c6fd41600 (patch)
tree6fdccd49f442a7204399ca9b418f017322dbded8 /src/commit.h
parent0daa6cdcad92746551f78edfa93be0bc188d4f4a (diff)
downloadlibgit2-6bb7aa1318f7f31a346c71ef81d2b33c6fd41600.tar.gz
Added new error codes. Improved error handling.
Signed-off-by: Vicent Marti <tanoku@gmail.com> Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/commit.h')
-rw-r--r--src/commit.h4
1 files changed, 2 insertions, 2 deletions
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);