summaryrefslogtreecommitdiff
path: root/include/git2/attr.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/attr.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/attr.h')
-rw-r--r--include/git2/attr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/attr.h b/include/git2/attr.h
index 651454abc..3752b9913 100644
--- a/include/git2/attr.h
+++ b/include/git2/attr.h
@@ -202,7 +202,7 @@ GIT_EXTERN(int) git_attr_get_many(
* @return 0 to continue looping, non-zero to stop. This value will be returned
* from git_attr_foreach.
*/
-typedef int (*git_attr_foreach_cb)(const char *name, const char *value, void *payload);
+typedef int GIT_CALLBACK(git_attr_foreach_cb)(const char *name, const char *value, void *payload);
/**
* Loop over all the git attributes for a path.