aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-04-11 14:43:12 -0700
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-04-18 18:35:03 -0700
commitd9ec36e22dfe61f3fb972dee33a5cae529e46b07 (patch)
tree376a3b84d9641c8c0237e0b6f3388593bacb46ce /src
parentf692e6c214ec3fb5cb64e4131470793c6494afbd (diff)
downloadplatform_external_jemalloc_new-d9ec36e22dfe61f3fb972dee33a5cae529e46b07.tar.gz
platform_external_jemalloc_new-d9ec36e22dfe61f3fb972dee33a5cae529e46b07.tar.bz2
platform_external_jemalloc_new-d9ec36e22dfe61f3fb972dee33a5cae529e46b07.zip
Header refactoring: move assert.h out of the catch-all
Diffstat (limited to 'src')
-rw-r--r--src/arena.c1
-rw-r--r--src/base.c2
-rw-r--r--src/bitmap.c2
-rw-r--r--src/ckh.c1
-rw-r--r--src/ctl.c1
-rw-r--r--src/extent.c3
-rw-r--r--src/extent_dss.c2
-rw-r--r--src/extent_mmap.c2
-rw-r--r--src/jemalloc.c1
-rw-r--r--src/large.c1
-rw-r--r--src/mutex.c1
-rw-r--r--src/nstime.c2
-rw-r--r--src/pages.c1
-rw-r--r--src/prof.c1
-rw-r--r--src/rtree.c2
-rw-r--r--src/stats.c2
-rw-r--r--src/tcache.c2
-rw-r--r--src/tsd.c2
-rw-r--r--src/witness.c1
-rw-r--r--src/zone.c3
20 files changed, 32 insertions, 1 deletions
diff --git a/src/arena.c b/src/arena.c
index 27a0f75c..bb45a90c 100644
--- a/src/arena.c
+++ b/src/arena.c
@@ -2,6 +2,7 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/util.h"
/******************************************************************************/
diff --git a/src/base.c b/src/base.c
index caec9557..3de6e3b0 100644
--- a/src/base.c
+++ b/src/base.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
+
/******************************************************************************/
/* Data. */
diff --git a/src/bitmap.c b/src/bitmap.c
index 2eb50f1b..275636b9 100644
--- a/src/bitmap.c
+++ b/src/bitmap.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
+
/******************************************************************************/
void
diff --git a/src/ckh.c b/src/ckh.c
index ce977e14..aaa97924 100644
--- a/src/ckh.c
+++ b/src/ckh.c
@@ -38,6 +38,7 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/malloc_io.h"
#include "jemalloc/internal/util.h"
diff --git a/src/ctl.c b/src/ctl.c
index 29689c8e..4fba2cd2 100644
--- a/src/ctl.c
+++ b/src/ctl.c
@@ -2,6 +2,7 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/util.h"
/******************************************************************************/
diff --git a/src/extent.c b/src/extent.c
index 0bfc555d..6b7da3f9 100644
--- a/src/extent.c
+++ b/src/extent.c
@@ -1,9 +1,10 @@
#define JEMALLOC_EXTENT_C_
#include "jemalloc/internal/jemalloc_preamble.h"
+#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/ph.h"
-#include "jemalloc/internal/jemalloc_internal_includes.h"
/******************************************************************************/
/* Data. */
diff --git a/src/extent_dss.c b/src/extent_dss.c
index c609f14c..06bccc83 100644
--- a/src/extent_dss.c
+++ b/src/extent_dss.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
+
/******************************************************************************/
/* Data. */
diff --git a/src/extent_mmap.c b/src/extent_mmap.c
index 5717573e..9381dc16 100644
--- a/src/extent_mmap.c
+++ b/src/extent_mmap.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
+
/******************************************************************************/
static void *
diff --git a/src/jemalloc.c b/src/jemalloc.c
index 7e3ec6ea..d6b21586 100644
--- a/src/jemalloc.c
+++ b/src/jemalloc.c
@@ -2,6 +2,7 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/atomic.h"
#include "jemalloc/internal/malloc_io.h"
#include "jemalloc/internal/util.h"
diff --git a/src/large.c b/src/large.c
index aa3ea1ff..629656d0 100644
--- a/src/large.c
+++ b/src/large.c
@@ -2,6 +2,7 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/util.h"
/******************************************************************************/
diff --git a/src/mutex.c b/src/mutex.c
index 92c23dab..3bb5ce1d 100644
--- a/src/mutex.c
+++ b/src/mutex.c
@@ -2,6 +2,7 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/malloc_io.h"
#if defined(JEMALLOC_LAZY_LOCK) && !defined(_WIN32)
diff --git a/src/nstime.c b/src/nstime.c
index ee8d78e7..e0895476 100644
--- a/src/nstime.c
+++ b/src/nstime.c
@@ -1,6 +1,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
+
#define BILLION UINT64_C(1000000000)
#define MILLION UINT64_C(1000000)
diff --git a/src/pages.c b/src/pages.c
index f1138231..7fa254f7 100644
--- a/src/pages.c
+++ b/src/pages.c
@@ -2,6 +2,7 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/malloc_io.h"
#ifdef JEMALLOC_SYSCTL_VM_OVERCOMMIT
diff --git a/src/prof.c b/src/prof.c
index 276ca360..f2b21f72 100644
--- a/src/prof.c
+++ b/src/prof.c
@@ -2,6 +2,7 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/malloc_io.h"
/******************************************************************************/
diff --git a/src/rtree.c b/src/rtree.c
index 8d11d99f..ada6e9d5 100644
--- a/src/rtree.c
+++ b/src/rtree.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
+
/*
* Only the most significant bits of keys passed to rtree_{read,write}() are
* used.
diff --git a/src/stats.c b/src/stats.c
index 110d62f7..bbba4679 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
+
const char *global_mutex_names[num_global_prof_mutexes] = {
#define OP(mtx) #mtx,
GLOBAL_PROF_MUTEXES
diff --git a/src/tcache.c b/src/tcache.c
index 7e71bb6a..971c016b 100644
--- a/src/tcache.c
+++ b/src/tcache.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
+
/******************************************************************************/
/* Data. */
diff --git a/src/tsd.c b/src/tsd.c
index cb7dd3fb..686b4ef4 100644
--- a/src/tsd.c
+++ b/src/tsd.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
+
/******************************************************************************/
/* Data. */
diff --git a/src/witness.c b/src/witness.c
index bd040826..edb736bf 100644
--- a/src/witness.c
+++ b/src/witness.c
@@ -2,6 +2,7 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/malloc_io.h"
void
diff --git a/src/zone.c b/src/zone.c
index a8a571fd..37bc8da9 100644
--- a/src/zone.c
+++ b/src/zone.c
@@ -1,5 +1,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+
+#include "jemalloc/internal/assert.h"
+
#ifndef JEMALLOC_ZONE
# error "This source file is for zones on Darwin (OS X)."
#endif