Remove redundant typedefs.
Pre-C11 compilers do not support typedef redefinition.
This commit is contained in:
parent
5642f03cae
commit
faaf458bad
@ -108,7 +108,6 @@ enum {
|
|||||||
typedef uint8_t tsd_state_t;
|
typedef uint8_t tsd_state_t;
|
||||||
|
|
||||||
/* The actual tsd. */
|
/* The actual tsd. */
|
||||||
typedef struct tsd_s tsd_t;
|
|
||||||
struct tsd_s {
|
struct tsd_s {
|
||||||
/*
|
/*
|
||||||
* The contents should be treated as totally opaque outside the tsd
|
* The contents should be treated as totally opaque outside the tsd
|
||||||
@ -127,7 +126,6 @@ MALLOC_TSD
|
|||||||
* between tsd_t and tsdn_t, where tsdn_t is "nullable" and has to be
|
* between tsd_t and tsdn_t, where tsdn_t is "nullable" and has to be
|
||||||
* explicitly converted to tsd_t, which is non-nullable.
|
* explicitly converted to tsd_t, which is non-nullable.
|
||||||
*/
|
*/
|
||||||
typedef struct tsdn_s tsdn_t;
|
|
||||||
struct tsdn_s {
|
struct tsdn_s {
|
||||||
tsd_t tsd;
|
tsd_t tsd;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user