diff options
author | René Scharfe <l.s.r@web.de> | 2020-02-04 22:15:19 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-05 10:24:15 -0800 |
commit | 71620ca86c530c234b09049b42e3d54f2a36087c (patch) | |
tree | 74d6b0e47efc12c11cb95e92907c532392db6ad5 /builtin/name-rev.c | |
parent | name-rev: rewrite create_or_update_name() (diff) | |
download | tgif-71620ca86c530c234b09049b42e3d54f2a36087c.tar.xz |
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/name-rev.c')
-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 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 *); |