diff options
author | René Scharfe <l.s.r@web.de> | 2020-02-05 00:15:19 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-05 21:24:15 +0300 |
commit | 71620ca86c530c234b09049b42e3d54f2a36087c (patch) | |
tree | 74d6b0e47efc12c11cb95e92907c532392db6ad5 /builtin | |
parent | 3e2feb0d64c994d343b42a62bd521fb5d6bdfe02 (diff) |
name-rev: remove unused typedef
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@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/name-rev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/name-rev.c b/builtin/name-rev.c index c2239ac3f76..a8de9cc5619 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 *); |