diff options
| author | Ben Straub <bs@github.com> | 2012-12-06 19:41:52 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2012-12-06 19:41:52 -0800 |
| commit | fac43c54a6f02d3dbedd11ec228d4cb606a52bff (patch) | |
| tree | f5573603bc9c2217707f07d2e57653dc300ea777 /include/git2/checkout.h | |
| parent | ed6a418791752c97645e86a75e166ebcd5b0e39c (diff) | |
| download | libgit2-fac43c54a6f02d3dbedd11ec228d4cb606a52bff.tar.gz | |
Allow compilation as C++
Diffstat (limited to 'include/git2/checkout.h')
| -rw-r--r-- | include/git2/checkout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h index ea6e219ba..c36e2a41b 100644 --- a/include/git2/checkout.h +++ b/include/git2/checkout.h @@ -187,7 +187,7 @@ typedef struct git_checkout_opts { } git_checkout_opts; #define GIT_CHECKOUT_OPTS_VERSION 1 -#define GIT_CHECKOUT_OPTS_INIT {GIT_CHECKOUT_OPTS_VERSION, 0} +#define GIT_CHECKOUT_OPTS_INIT {GIT_CHECKOUT_OPTS_VERSION} /** * Updates files in the index and the working tree to match the content of the |
