summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-11-18 22:58:17 +0000
committerGitHub <noreply@github.com>2018-11-18 22:58:17 +0000
commit0310749b01ff081f77633a3698eb39335f6ead17 (patch)
tree1789fd701e265c43bee9fd023f836dafe15c2d90
parent4ef2b889a45496f2afc8df1c5570ffc90e650bfa (diff)
parent4dcd45148e3555688f60caa36f29bfc48d46526d (diff)
downloadlibgit2-0310749b01ff081f77633a3698eb39335f6ead17.tar.gz
Merge pull request #4892 from osener/patch-1
worktree: Expose git_worktree_add_init_options
-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);
/**