The type alias became unused with bf43abc6e6 (name-rev: use sizeof(*ptr) instead of sizeof(type) in allocation, 2019-11-12); remove it. Signed-off-by: René Scharfe <l.s.r@xxxxxx> --- builtin/name-rev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/name-rev.c b/builtin/name-rev.c index c2239ac3f7..a8de9cc561 100644 --- a/builtin/name-rev.c +++ b/builtin/name-rev.c @@ -16,13 +16,13 @@ */ #define CUTOFF_DATE_SLOP 86400 -typedef struct rev_name { +struct rev_name { const char *tip_name; timestamp_t taggerdate; int generation; int distance; int from_tag; -} rev_name; +}; define_commit_slab(commit_rev_name, struct rev_name *); -- 2.25.0