From c869e26878d752e1e26d2c09efd3bc389584b0a5 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Tue, 2 Apr 2013 18:57:42 -0500 Subject: [PATCH] export git_reference__alloc --- include/git2/refdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,