diff options
Diffstat (limited to 'include/git2/refs.h')
| -rw-r--r-- | include/git2/refs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/refs.h b/include/git2/refs.h index 5504c30c9..909edeac4 100644 --- a/include/git2/refs.h +++ b/include/git2/refs.h @@ -422,8 +422,8 @@ GIT_EXTERN(int) git_reference_remove(git_repository *repo, const char *name); */ GIT_EXTERN(int) git_reference_list(git_strarray *array, git_repository *repo); -typedef int (*git_reference_foreach_cb)(git_reference *reference, void *payload); -typedef int (*git_reference_foreach_name_cb)(const char *name, void *payload); +typedef int GIT_CALLBACK(git_reference_foreach_cb)(git_reference *reference, void *payload); +typedef int GIT_CALLBACK(git_reference_foreach_name_cb)(const char *name, void *payload); /** * Perform a callback on each reference in the repository. |
