summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-04-11 20:06:31 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-04-19 01:35:03 (GMT)
commit54373be0840881cb1123a190013dd11c34ab62f1 (patch)
tree0610508c62fd5565e9a575b185040c3014648304 /src
parent0b00ffe55f01958a048ded483eababd051247b8d (diff)
downloadjemalloc-54373be0840881cb1123a190013dd11c34ab62f1.zip
jemalloc-54373be0840881cb1123a190013dd11c34ab62f1.tar.gz
jemalloc-54373be0840881cb1123a190013dd11c34ab62f1.tar.bz2
Header refactoring: move malloc_io.h out of the catchall
Diffstat (limited to 'src')
-rw-r--r--src/ckh.c2
-rw-r--r--src/jemalloc.c1
-rw-r--r--src/malloc_io.c1
-rw-r--r--src/mutex.c2
-rw-r--r--src/pages.c2
-rw-r--r--src/prof.c2
-rw-r--r--src/witness.c2
7 files changed, 12 insertions, 0 deletions
diff --git a/src/ckh.c b/src/ckh.c
index a359a5c..a9d181b 100644
--- a/src/ckh.c
+++ b/src/ckh.c
@@ -38,6 +38,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/malloc_io.h"
+
/******************************************************************************/
/* Function prototypes for non-inline static functions. */
diff --git a/src/jemalloc.c b/src/jemalloc.c
index 4c38517..4b4e943 100644
--- a/src/jemalloc.c
+++ b/src/jemalloc.c
@@ -3,6 +3,7 @@
#include "jemalloc/internal/jemalloc_internal_includes.h"
#include "jemalloc/internal/atomic.h"
+#include "jemalloc/internal/malloc_io.h"
/******************************************************************************/
/* Data. */
diff --git a/src/malloc_io.c b/src/malloc_io.c
index 98ef7a6..11dc68d 100644
--- a/src/malloc_io.c
+++ b/src/malloc_io.c
@@ -1,6 +1,7 @@
#define JEMALLOC_MALLOC_IO_C_
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/malloc_io.h"
#ifdef assert
# undef assert
diff --git a/src/mutex.c b/src/mutex.c
index 26af523..92c23da 100644
--- a/src/mutex.c
+++ b/src/mutex.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/malloc_io.h"
+
#if defined(JEMALLOC_LAZY_LOCK) && !defined(_WIN32)
#include <dlfcn.h>
#endif
diff --git a/src/pages.c b/src/pages.c
index 53ca653..f113823 100644
--- a/src/pages.c
+++ b/src/pages.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/malloc_io.h"
+
#ifdef JEMALLOC_SYSCTL_VM_OVERCOMMIT
#include <sys/sysctl.h>
#endif
diff --git a/src/prof.c b/src/prof.c
index 334466b..276ca36 100644
--- a/src/prof.c
+++ b/src/prof.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/malloc_io.h"
+
/******************************************************************************/
#ifdef JEMALLOC_PROF_LIBUNWIND
diff --git a/src/witness.c b/src/witness.c
index 26b16e7..bd04082 100644
--- a/src/witness.c
+++ b/src/witness.c
@@ -2,6 +2,8 @@
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/malloc_io.h"
+
void
witness_init(witness_t *witness, const char *name, witness_rank_t rank,
witness_comp_t *comp, void *opaque) {