Skip to content

Commit faaf458

Browse files
committed
Remove redundant typedefs.
Pre-C11 compilers do not support typedef redefinition.
1 parent 5642f03 commit faaf458

File tree

1 file changed

+0
-2
lines changed
  • include/jemalloc/internal

1 file changed

+0
-2
lines changed

include/jemalloc/internal/tsd.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ enum {
108108
typedef uint8_t tsd_state_t;
109109

110110
/* The actual tsd. */
111-
typedef struct tsd_s tsd_t;
112111
struct tsd_s {
113112
/*
114113
* The contents should be treated as totally opaque outside the tsd
@@ -127,7 +126,6 @@ MALLOC_TSD
127126
* between tsd_t and tsdn_t, where tsdn_t is "nullable" and has to be
128127
* explicitly converted to tsd_t, which is non-nullable.
129128
*/
130-
typedef struct tsdn_s tsdn_t;
131129
struct tsdn_s {
132130
tsd_t tsd;
133131
};

0 commit comments

Comments
 (0)