diff --git a/include/git2/commit.h b/include/git2/commit.h index 5b6da520d..e8ecc808b 100644 --- a/include/git2/commit.h +++ b/include/git2/commit.h @@ -192,7 +192,7 @@ GIT_EXTERN(const git_oid *) git_commit_parent_oid(git_commit *commit, unsigned i * @return 0 on success; GIT_ENOTFOUND if no matching ancestor exists * or an error code */ -int git_commit_nth_gen_ancestor( +GIT_EXTERN(int) git_commit_nth_gen_ancestor( git_commit **ancestor, const git_commit *commit, unsigned int n);