summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOzan Sener <ozan@ozansener.com>2018-11-18 18:13:58 +0100
committerGitHub <noreply@github.com>2018-11-18 18:13:58 +0100
commit4dcd45148e3555688f60caa36f29bfc48d46526d (patch)
tree31c02260633105a6afd362ce644b56d6c0f2ffd3 /include
parent7321cff05df927c8d00755ef21289ec00d125c9c (diff)
downloadlibgit2-4dcd45148e3555688f60caa36f29bfc48d46526d.tar.gz
worktree: Expose git_worktree_add_init_options
Diffstat (limited to 'include')
-rw-r--r--include/git2/worktree.h2
1 files changed, 1 insertions, 1 deletions
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);
/**