summaryrefslogtreecommitdiff
path: root/include/git2/sys/commit.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-17 22:07:24 +0000
committerGitHub <noreply@github.com>2019-01-17 22:07:24 +0000
commit4e0c8a1e73124acc62d295df02f7e92e2e8b3dfc (patch)
treea389e3efe372ade4c695b9861b3a119f08fe987d /include/git2/sys/commit.h
parent6e17bfda57467b32b5709e8d9014eae767810869 (diff)
parent38e61797b579f1738e3c48aaf101ad3ddaff4e6b (diff)
downloadlibgit2-4e0c8a1e73124acc62d295df02f7e92e2e8b3dfc.tar.gz
Merge pull request #4930 from libgit2/ethomson/cdecl
Always build a cdecl library
Diffstat (limited to 'include/git2/sys/commit.h')
-rw-r--r--include/git2/sys/commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/sys/commit.h b/include/git2/sys/commit.h
index 627d3ae2e..ba671061f 100644
--- a/include/git2/sys/commit.h
+++ b/include/git2/sys/commit.h
@@ -50,7 +50,7 @@ GIT_EXTERN(int) git_commit_create_from_ids(
* along with the user supplied payload. This should return a git_oid of
* the next parent or NULL if all parents have been provided.
*/
-typedef const git_oid *(*git_commit_parent_callback)(size_t idx, void *payload);
+typedef const git_oid * GIT_CALLBACK(git_commit_parent_callback)(size_t idx, void *payload);
/**
* Create a new commit in the repository with an callback to supply parents.