Commit 1ebe432e2f685c72774aa5012f99fbb4845cffba

Carlos Martín Nieto 2012-07-12T20:33:30

commit: properly export git_commit_nth_gen_ancestor()

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/commit.h b/include/git2/commit.h
index 5b6da52..e8ecc80 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);