diff options
Diffstat (limited to 'list-objects.h')
-rw-r--r-- | list-objects.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/list-objects.h b/list-objects.h index 0f41391ecc..136a1da5a6 100644 --- a/list-objects.h +++ b/list-objects.h @@ -1,12 +1,11 @@ #ifndef LIST_OBJECTS_H #define LIST_OBJECTS_H -typedef void (*show_commit_fn)(struct commit *); -typedef void (*show_object_fn)(struct object_array_entry *); -typedef void (*show_edge_fn)(struct commit *); - -void traverse_commit_list(struct rev_info *revs, show_commit_fn, show_object_fn); +typedef void (*show_commit_fn)(struct commit *, void *); +typedef void (*show_object_fn)(struct object *, const struct name_path *, const char *, void *); +void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *); -void mark_edges_uninteresting(struct commit_list *, struct rev_info *, show_edge_fn); +typedef void (*show_edge_fn)(struct commit *); +void mark_edges_uninteresting(struct rev_info *, show_edge_fn); #endif |