summaryrefslogtreecommitdiff
path: root/include/git2/refdb.h
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-04-02 17:09:35 -0700
committerVicent Martí <vicent@github.com>2013-04-02 17:09:35 -0700
commit432b8c11b8efbc8018bb5cff30431221cdc7b917 (patch)
tree3aeab4781dce0828ad80eb65dc412de28d3bf529 /include/git2/refdb.h
parent734aa82642ab2e6164c206cc5898af824cb23e50 (diff)
parentc869e26878d752e1e26d2c09efd3bc389584b0a5 (diff)
downloadlibgit2-432b8c11b8efbc8018bb5cff30431221cdc7b917.tar.gz
Merge pull request #1453 from ethomson/refdb_export
Properly GIT_EXPORT git_reference__alloc
Diffstat (limited to 'include/git2/refdb.h')
-rw-r--r--include/git2/refdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/refdb.h b/include/git2/refdb.h
index 8d5be8e47..0586b119e 100644
--- a/include/git2/refdb.h
+++ b/include/git2/refdb.h
@@ -31,7 +31,7 @@ GIT_BEGIN_DECL
* @param symbolic the target for a symbolic reference
* @return the created git_reference or NULL on error
*/
-git_reference *git_reference__alloc(
+GIT_EXTERN(git_reference *) git_reference__alloc(
git_refdb *refdb,
const char *name,
const git_oid *oid,