Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Cunz <sascha@babbelbox.org>2012-05-11 06:12:18 +0400
committerVicent Martí <tanoku@gmail.com>2012-05-14 21:56:35 +0400
commit0c9a5565f7f4fdf70c72c5a92a1deeef7aaac6e3 (patch)
treec63d60480e8df6a1fcff66da0763e6346944e858 /include/git2/tree.h
parent546ca93993ac224d1e66f20412a2f23bcc3d48ed (diff)
Add missing GIT_EXTERN declarations
Diffstat (limited to 'include/git2/tree.h')
-rw-r--r--include/git2/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/tree.h b/include/git2/tree.h
index 972c3795c..f75cc1cbb 100644
--- a/include/git2/tree.h
+++ b/include/git2/tree.h
@@ -343,9 +343,9 @@ typedef int (*git_tree_diff_cb)(const git_tree_diff_data *ptr, void *data);
* @param data data to give to the callback
* @return GIT_SUCCESS or an error code
*/
-int git_tree_diff(git_tree *old, git_tree *newer, git_tree_diff_cb cb, void *data);
+GIT_EXTERN(int) git_tree_diff(git_tree *old, git_tree *newer, git_tree_diff_cb cb, void *data);
-int git_tree_diff_index_recursive(git_tree *tree, git_index *index, git_tree_diff_cb cb, void *data);
+GIT_EXTERN(int) git_tree_diff_index_recursive(git_tree *tree, git_index *index, git_tree_diff_cb cb, void *data);
/** @} */