summaryrefslogtreecommitdiffstats
path: root/src/tsd.c
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-04-04 18:09:45 (GMT)
committerQi Wang <interwq@gmail.com>2017-04-04 21:06:07 (GMT)
commit492e9f301eeb980e880d307214fd441264986324 (patch)
tree2410135cfb87c58ffa4a807c95aaf372330845db /src/tsd.c
parentd3cda3423cd7ae47630833e4a888bdaf6a7bf8d9 (diff)
downloadjemalloc-492e9f301eeb980e880d307214fd441264986324.zip
jemalloc-492e9f301eeb980e880d307214fd441264986324.tar.gz
jemalloc-492e9f301eeb980e880d307214fd441264986324.tar.bz2
Make the tsd member init functions to take tsd_t * type.
Diffstat (limited to 'src/tsd.c')
-rw-r--r--src/tsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsd.c b/src/tsd.c
index 6b68c00..8650211 100644
--- a/src/tsd.c
+++ b/src/tsd.c
@@ -64,7 +64,7 @@ bool
tsd_data_init(void *arg) {
tsd_t *tsd = (tsd_t *)arg;
#define MALLOC_TSD_init_yes(n, t) \
- if (n##_data_init(&tsd->n)) { \
+ if (tsd_##n##_data_init(tsd)) { \
return true; \
}
#define MALLOC_TSD_init_no(n, t)