diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-07-12 20:33:30 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-07-12 20:33:30 +0200 |
commit | 1ebe432e2f685c72774aa5012f99fbb4845cffba (patch) | |
tree | a6b8384be301d39508f264a5c32139d0c5a5fd09 /include/git2/commit.h | |
parent | dd4345b4247f067e282ccbcde0f0b36d3d571470 (diff) | |
download | libgit2-1ebe432e2f685c72774aa5012f99fbb4845cffba.tar.gz |
commit: properly export git_commit_nth_gen_ancestor()
Diffstat (limited to 'include/git2/commit.h')
-rw-r--r-- | include/git2/commit.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |