diff options
| -rw-r--r-- | odb.c | 2 | ||||
| -rw-r--r-- | odb.h | 2 | ||||
| -rw-r--r-- | packfile.c | 2 | ||||
| -rw-r--r-- | packfile.h | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -922,7 +922,7 @@ int odb_for_each_object(struct object_database *odb, const struct object_info *request, odb_for_each_object_cb cb, void *cb_data, - unsigned flags) + enum odb_for_each_object_flags flags) { struct odb_for_each_object_options opts = { .flags = flags, @@ -522,7 +522,7 @@ int odb_for_each_object(struct object_database *odb, const struct object_info *request, odb_for_each_object_cb cb, void *cb_data, - unsigned flags); + enum odb_for_each_object_flags flags); enum odb_count_objects_flags { /* diff --git a/packfile.c b/packfile.c index ee9c7ea1d1..5d3b772973 100644 --- a/packfile.c +++ b/packfile.c @@ -2299,7 +2299,7 @@ int has_object_kept_pack(struct repository *r, const struct object_id *oid, int for_each_object_in_pack(struct packed_git *p, each_packed_object_fn cb, void *data, - unsigned flags) + enum odb_for_each_object_flags flags) { uint32_t i; int r = 0; diff --git a/packfile.h b/packfile.h index 45b35973f0..3eb10d6b65 100644 --- a/packfile.h +++ b/packfile.h @@ -352,7 +352,7 @@ typedef int each_packed_object_fn(const struct object_id *oid, void *data); int for_each_object_in_pack(struct packed_git *p, each_packed_object_fn, void *data, - unsigned flags); + enum odb_for_each_object_flags flags); /* * Iterate through all packed objects in the given packfile store and invoke |
