vendor/libgit2/include/git2/sys/commit.h in rugged-0.27.10 vs vendor/libgit2/include/git2/sys/commit.h in rugged-0.27.10.1
- old
+ new
@@ -48,10 +48,10 @@
*
* This is invoked with the count of the number of parents processed so far
* 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_CALLBACK(git_commit_parent_callback)(size_t idx, void *payload);
+typedef const git_oid *(*git_commit_parent_callback)(size_t idx, void *payload);
/**
* Create a new commit in the repository with an callback to supply parents.
*
* See documentation for `git_commit_create()` for information about the