summaryrefslogtreecommitdiff
path: root/src/git/revwalk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/git/revwalk.h')
-rw-r--r--src/git/revwalk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/git/revwalk.h b/src/git/revwalk.h
index 0a902f96c..027a51a06 100644
--- a/src/git/revwalk.h
+++ b/src/git/revwalk.h
@@ -67,14 +67,14 @@ GIT_EXTERN(void) gitrp_reset(git_revpool *pool);
* @param pool the pool being used for the traversal.
* @param commit the commit to start from.
*/
-GIT_EXTERN(void) gitrp_push(git_revpool *pool, git_commit *commit);
+GIT_EXTERN(int) gitrp_push(git_revpool *pool, git_commit *commit);
/**
* Mark a commit (and its ancestors) uninteresting for the output.
* @param pool the pool being used for the traversal.
* @param commit the commit that will be ignored during the traversal
*/
-GIT_EXTERN(void) gitrp_hide(git_revpool *pool, git_commit *commit);
+GIT_EXTERN(int) gitrp_hide(git_revpool *pool, git_commit *commit);
/**
* Get the next commit from the revision traversal.