summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2012-03-27 12:20:12 (GMT)
committerJason Evans <jasone@canonware.com>2012-03-30 17:53:00 (GMT)
commit71a93b8725fb52ae393ab88e2fccd5afa84c66a0 (patch)
tree183df5de00bb47ab3a9ee6eb03b8d60d96bd1649 /include
parent2cfe6d67ef6a622eeb47ba48b431bdafc0c45b35 (diff)
downloadjemalloc-71a93b8725fb52ae393ab88e2fccd5afa84c66a0.zip
jemalloc-71a93b8725fb52ae393ab88e2fccd5afa84c66a0.tar.gz
jemalloc-71a93b8725fb52ae393ab88e2fccd5afa84c66a0.tar.bz2
Move zone registration to zone.c
Diffstat (limited to 'include')
-rw-r--r--include/jemalloc/internal/private_namespace.h2
-rw-r--r--include/jemalloc/internal/zone.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/include/jemalloc/internal/private_namespace.h b/include/jemalloc/internal/private_namespace.h
index 7103e68..ed34e32 100644
--- a/include/jemalloc/internal/private_namespace.h
+++ b/include/jemalloc/internal/private_namespace.h
@@ -82,7 +82,6 @@
#define ckh_string_keycomp JEMALLOC_N(ckh_string_keycomp)
#define ckh_try_bucket_insert JEMALLOC_N(ckh_try_bucket_insert)
#define ckh_try_insert JEMALLOC_N(ckh_try_insert)
-#define create_zone JEMALLOC_N(create_zone)
#define ctl_boot JEMALLOC_N(ctl_boot)
#define ctl_bymib JEMALLOC_N(ctl_bymib)
#define ctl_byname JEMALLOC_N(ctl_byname)
@@ -195,6 +194,7 @@
#define prof_tdata_init JEMALLOC_N(prof_tdata_init)
#define prof_tdata_tls JEMALLOC_N(prof_tdata_tls)
#define pthread_create JEMALLOC_N(pthread_create)
+#define register_zone JEMALLOC_N(register_zone)
#define rtree_get JEMALLOC_N(rtree_get)
#define rtree_get_locked JEMALLOC_N(rtree_get_locked)
#define rtree_new JEMALLOC_N(rtree_new)
diff --git a/include/jemalloc/internal/zone.h b/include/jemalloc/internal/zone.h
index 859b529..9eb4252 100644
--- a/include/jemalloc/internal/zone.h
+++ b/include/jemalloc/internal/zone.h
@@ -12,8 +12,7 @@
/******************************************************************************/
#ifdef JEMALLOC_H_EXTERNS
-malloc_zone_t *create_zone(void);
-void szone2ozone(malloc_zone_t *zone);
+void register_zone(void);
#endif /* JEMALLOC_H_EXTERNS */
/******************************************************************************/