From 4dcd45148e3555688f60caa36f29bfc48d46526d Mon Sep 17 00:00:00 2001 From: Ozan Sener Date: Sun, 18 Nov 2018 18:13:58 +0100 Subject: worktree: Expose git_worktree_add_init_options --- include/git2/worktree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/git2') diff --git a/include/git2/worktree.h b/include/git2/worktree.h index d1b4f84c2..925d85a69 100644 --- a/include/git2/worktree.h +++ b/include/git2/worktree.h @@ -101,7 +101,7 @@ typedef struct git_worktree_add_options { * @param version The struct version; pass `GIT_WORKTREE_ADD_OPTIONS_VERSION`. * @return Zero on success; -1 on failure. */ -int git_worktree_add_init_options(git_worktree_add_options *opts, +GIT_EXTERN(int) git_worktree_add_init_options(git_worktree_add_options *opts, unsigned int version); /** -- cgit v1.2.1