summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-06-08 19:19:29 (GMT)
committerJason Evans <jasone@canonware.com>2017-06-08 20:28:57 (GMT)
commitfaaf458bad62daf67fc913f60e9e14f54aa55827 (patch)
tree85ac7dd82bf142c94023d4bbaeeaa58e8bbfc9ab /include
parent5642f03cae54eb8798dc4fa5ea28d9569572c1af (diff)
downloadjemalloc-faaf458bad62daf67fc913f60e9e14f54aa55827.zip
jemalloc-faaf458bad62daf67fc913f60e9e14f54aa55827.tar.gz
jemalloc-faaf458bad62daf67fc913f60e9e14f54aa55827.tar.bz2
Remove redundant typedefs.
Pre-C11 compilers do not support typedef redefinition.
Diffstat (limited to 'include')
-rw-r--r--include/jemalloc/internal/tsd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/jemalloc/internal/tsd.h b/include/jemalloc/internal/tsd.h
index cab0b2f..631fbf1 100644
--- a/include/jemalloc/internal/tsd.h
+++ b/include/jemalloc/internal/tsd.h
@@ -108,7 +108,6 @@ enum {
typedef uint8_t tsd_state_t;
/* The actual tsd. */
-typedef struct tsd_s tsd_t;
struct tsd_s {
/*
* 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
* explicitly converted to tsd_t, which is non-nullable.
*/
-typedef struct tsdn_s tsdn_t;
struct tsdn_s {
tsd_t tsd;
};