summaryrefslogtreecommitdiff
path: root/include/git2/oid.h
diff options
context:
space:
mode:
authorSascha Cunz <sascha@babbelbox.org>2012-05-11 04:12:18 +0200
committerVicent Martí <tanoku@gmail.com>2012-05-14 19:56:35 +0200
commit0c9a5565f7f4fdf70c72c5a92a1deeef7aaac6e3 (patch)
treec63d60480e8df6a1fcff66da0763e6346944e858 /include/git2/oid.h
parent546ca93993ac224d1e66f20412a2f23bcc3d48ed (diff)
downloadlibgit2-0c9a5565f7f4fdf70c72c5a92a1deeef7aaac6e3.tar.gz
Add missing GIT_EXTERN declarations
Diffstat (limited to 'include/git2/oid.h')
-rw-r--r--include/git2/oid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h
index 566d13ac1..87efbab2f 100644
--- a/include/git2/oid.h
+++ b/include/git2/oid.h
@@ -183,7 +183,7 @@ typedef struct git_oid_shorten git_oid_shorten;
* be unique.
* @return a `git_oid_shorten` instance, NULL if OOM
*/
-git_oid_shorten *git_oid_shorten_new(size_t min_length);
+GIT_EXTERN(git_oid_shorten *) git_oid_shorten_new(size_t min_length);
/**
* Add a new OID to set of shortened OIDs and calculate
@@ -209,14 +209,14 @@ git_oid_shorten *git_oid_shorten_new(size_t min_length);
* added so far to the set; or an error code (<0) if an
* error occurs.
*/
-int git_oid_shorten_add(git_oid_shorten *os, const char *text_oid);
+GIT_EXTERN(int) git_oid_shorten_add(git_oid_shorten *os, const char *text_oid);
/**
* Free an OID shortener instance
*
* @param os a `git_oid_shorten` instance
*/
-void git_oid_shorten_free(git_oid_shorten *os);
+GIT_EXTERN(void) git_oid_shorten_free(git_oid_shorten *os);
/** @} */
GIT_END_DECL