From 1ebe432e2f685c72774aa5012f99fbb4845cffba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Thu, 12 Jul 2012 20:33:30 +0200 Subject: [PATCH] commit: properly export git_commit_nth_gen_ancestor() --- include/git2/commit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);