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/repository.h | |
| parent | ed6a418791752c97645e86a75e166ebcd5b0e39c (diff) | |
| download | libgit2-fac43c54a6f02d3dbedd11ec228d4cb606a52bff.tar.gz | |
Allow compilation as C++
Diffstat (limited to 'include/git2/repository.h')
| -rw-r--r-- | include/git2/repository.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h index 0d82b9810..216f59b51 100644 --- a/include/git2/repository.h +++ b/include/git2/repository.h @@ -250,7 +250,7 @@ typedef struct { } git_repository_init_options; #define GIT_REPOSITORY_INIT_OPTIONS_VERSION 1 -#define GIT_REPOSITORY_INIT_OPTIONS_INIT {GIT_REPOSITORY_INIT_OPTIONS_VERSION, 0} +#define GIT_REPOSITORY_INIT_OPTIONS_INIT {GIT_REPOSITORY_INIT_OPTIONS_VERSION} /** * Create a new Git repository in the given folder with extended controls. |
