diff options
author | Russell Belfer <rb@github.com> | 2012-11-27 15:00:49 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-11-27 15:00:49 -0800 |
commit | c3fb7d04edecb68f0307dfaa48a311f0f72db90e (patch) | |
tree | 81e5424275d91ca002ef17aa5b1bc2c3fba2d07c /include/git2/odb.h | |
parent | f984d97b2208b48a6aec8877d0af357cca0c637d (diff) | |
download | libgit2-c3fb7d04edecb68f0307dfaa48a311f0f72db90e.tar.gz |
Make git_odb_foreach_cb take const param
This makes the first OID param of the ODB callback a const pointer
and also propogates that change all the way to the backends.
Diffstat (limited to 'include/git2/odb.h')
-rw-r--r-- | include/git2/odb.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/git2/odb.h b/include/git2/odb.h index d41c2fb52..f2633d11c 100644 --- a/include/git2/odb.h +++ b/include/git2/odb.h @@ -23,11 +23,6 @@ GIT_BEGIN_DECL /** - * Function type for callbacks from git_odb_foreach. - */ -typedef int (*git_odb_foreach_cb)(git_oid *id, void *payload); - -/** * Create a new object database with no backends. * * Before the ODB can be used for read/writing, a custom database |