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 /src/pack.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 'src/pack.h')
| -rw-r--r-- | src/pack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.h b/src/pack.h index af87b7cd5..9fb26b6a9 100644 --- a/src/pack.h +++ b/src/pack.h @@ -105,7 +105,7 @@ int git_pack_entry_find( size_t len); int git_pack_foreach_entry( struct git_pack_file *p, - int (*cb)(git_oid *oid, void *data), + git_odb_foreach_cb cb, void *data); #endif |
