Skip to content

Commit 71620ca

Browse files
rscharfegitster
authored andcommitted
name-rev: remove unused typedef
The type alias became unused with bf43abc (name-rev: use sizeof(*ptr) instead of sizeof(type) in allocation, 2019-11-12); remove it. Signed-off-by: René Scharfe <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3e2feb0 commit 71620ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/name-rev.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
*/
1717
#define CUTOFF_DATE_SLOP 86400
1818

19-
typedef struct rev_name {
19+
struct rev_name {
2020
const char *tip_name;
2121
timestamp_t taggerdate;
2222
int generation;
2323
int distance;
2424
int from_tag;
25-
} rev_name;
25+
};
2626

2727
define_commit_slab(commit_rev_name, struct rev_name *);
2828

0 commit comments

Comments
 (0)