summaryrefslogtreecommitdiff
path: root/include/git2/odb_backend.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-12-06 19:41:52 -0800
committerBen Straub <bs@github.com>2012-12-06 19:41:52 -0800
commitfac43c54a6f02d3dbedd11ec228d4cb606a52bff (patch)
treef5573603bc9c2217707f07d2e57653dc300ea777 /include/git2/odb_backend.h
parented6a418791752c97645e86a75e166ebcd5b0e39c (diff)
downloadlibgit2-fac43c54a6f02d3dbedd11ec228d4cb606a52bff.tar.gz
Allow compilation as C++
Diffstat (limited to 'include/git2/odb_backend.h')
-rw-r--r--include/git2/odb_backend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/odb_backend.h b/include/git2/odb_backend.h
index 3963ae531..19a154022 100644
--- a/include/git2/odb_backend.h
+++ b/include/git2/odb_backend.h
@@ -100,7 +100,7 @@ struct git_odb_backend {
};
#define GIT_ODB_BACKEND_VERSION 1
-#define GIT_ODB_BACKEND_INIT {GIT_ODB_BACKEND_VERSION, 0}
+#define GIT_ODB_BACKEND_INIT {GIT_ODB_BACKEND_VERSION}
/** Streaming mode */
enum {