Skip to content

Commit 0310749

Browse files
authored
Merge pull request libgit2#4892 from osener/patch-1
worktree: Expose git_worktree_add_init_options
2 parents 4ef2b88 + 4dcd451 commit 0310749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/git2/worktree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ typedef struct git_worktree_add_options {
101101
* @param version The struct version; pass `GIT_WORKTREE_ADD_OPTIONS_VERSION`.
102102
* @return Zero on success; -1 on failure.
103103
*/
104-
int git_worktree_add_init_options(git_worktree_add_options *opts,
104+
GIT_EXTERN(int) git_worktree_add_init_options(git_worktree_add_options *opts,
105105
unsigned int version);
106106

107107
/**

0 commit comments

Comments
 (0)