diff options
author | Ben Straub <bs@github.com> | 2012-11-27 09:49:16 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-11-27 13:18:30 -0800 |
commit | 2e76b5fc84b7aa3877ef6b8251b7ba15eac1b2de (patch) | |
tree | 8ed9bae64f9557c0560734ccfb7c1b87a688a853 /src/odb.c | |
parent | de5596bfd683273d60e8865626a064c6c1ece321 (diff) | |
download | libgit2-2e76b5fc84b7aa3877ef6b8251b7ba15eac1b2de.tar.gz |
API updates for odb.h
Diffstat (limited to 'src/odb.c')
-rw-r--r-- | src/odb.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -683,14 +683,14 @@ int git_odb_read_prefix( return 0; } -int git_odb_foreach(git_odb *db, int (*cb)(git_oid *oid, void *data), void *data) +int git_odb_foreach(git_odb *db, git_odb_foreach_cb cb, void *payload) { unsigned int i; backend_internal *internal; git_vector_foreach(&db->backends, i, internal) { git_odb_backend *b = internal->backend; - int error = b->foreach(b, cb, data); + int error = b->foreach(b, cb, payload); if (error < 0) return error; } |