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/diff.h | |
parent | ed6a418791752c97645e86a75e166ebcd5b0e39c (diff) | |
download | libgit2-fac43c54a6f02d3dbedd11ec228d4cb606a52bff.tar.gz |
Allow compilation as C++
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r-- | include/git2/diff.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h index f325342d2..49f781ddd 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -153,7 +153,7 @@ typedef struct { } git_diff_options; #define GIT_DIFF_OPTIONS_VERSION 1 -#define GIT_DIFF_OPTIONS_INIT {GIT_DIFF_OPTIONS_VERSION, 0} +#define GIT_DIFF_OPTIONS_INIT {GIT_DIFF_OPTIONS_VERSION} /** * The diff list object that contains all individual file deltas. @@ -366,7 +366,7 @@ typedef struct { } git_diff_find_options; #define GIT_DIFF_FIND_OPTIONS_VERSION 1 -#define GIT_DIFF_FIND_OPTIONS_INIT {GIT_DIFF_FIND_OPTIONS_VERSION, 0} +#define GIT_DIFF_FIND_OPTIONS_INIT {GIT_DIFF_FIND_OPTIONS_VERSION} /** @name Diff List Generator Functions * |