summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-04-17 23:35:04 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-04-19 01:35:03 (GMT)
commit38e847c1c594fb9ad4862233f3602ade85da4e7f (patch)
tree1920fb2efb6dd1c767c6c75949e6c821b90bb933 /src
parent418d96a86ce95e36f3dbd3dd700a30b5b7cdbcfd (diff)
downloadjemalloc-38e847c1c594fb9ad4862233f3602ade85da4e7f.zip
jemalloc-38e847c1c594fb9ad4862233f3602ade85da4e7f.tar.gz
jemalloc-38e847c1c594fb9ad4862233f3602ade85da4e7f.tar.bz2
Header refactoring: unify spin.h and move it out of the catch-all.
Diffstat (limited to 'src')
-rw-r--r--src/extent_dss.c1
-rw-r--r--src/jemalloc.c1
-rw-r--r--src/spin.c3
3 files changed, 4 insertions, 1 deletions
diff --git a/src/extent_dss.c b/src/extent_dss.c
index 06bccc8..6b5d066 100644
--- a/src/extent_dss.c
+++ b/src/extent_dss.c
@@ -3,6 +3,7 @@
#include "jemalloc/internal/jemalloc_internal_includes.h"
#include "jemalloc/internal/assert.h"
+#include "jemalloc/internal/spin.h"
/******************************************************************************/
/* Data. */
diff --git a/src/jemalloc.c b/src/jemalloc.c
index 3dad726..0297cf5 100644
--- a/src/jemalloc.c
+++ b/src/jemalloc.c
@@ -6,6 +6,7 @@
#include "jemalloc/internal/atomic.h"
#include "jemalloc/internal/jemalloc_internal_types.h"
#include "jemalloc/internal/malloc_io.h"
+#include "jemalloc/internal/spin.h"
#include "jemalloc/internal/util.h"
/******************************************************************************/
diff --git a/src/spin.c b/src/spin.c
index d2d3941..24372c2 100644
--- a/src/spin.c
+++ b/src/spin.c
@@ -1,3 +1,4 @@
#define JEMALLOC_SPIN_C_
#include "jemalloc/internal/jemalloc_preamble.h"
-#include "jemalloc/internal/jemalloc_internal_includes.h"
+
+#include "jemalloc/internal/spin.h"