summaryrefslogtreecommitdiff
path: root/builtin/name-rev.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2020-02-04 21:15:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-05 18:24:15 (GMT)
commit71620ca86c530c234b09049b42e3d54f2a36087c (patch)
tree74d6b0e47efc12c11cb95e92907c532392db6ad5 /builtin/name-rev.c
parent3e2feb0d64c994d343b42a62bd521fb5d6bdfe02 (diff)
downloadgit-71620ca86c530c234b09049b42e3d54f2a36087c.zip
git-71620ca86c530c234b09049b42e3d54f2a36087c.tar.gz
git-71620ca86c530c234b09049b42e3d54f2a36087c.tar.bz2
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/name-rev.c b/builtin/name-rev.c
index c2239ac..a8de9cc 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 *);