summaryrefslogtreecommitdiffstats
path: root/src/spin.c
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-04-11 01:17:55 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-04-11 18:52:30 (GMT)
commit743d940dc34495e61145bbe4901ae2c2dcd4c4ef (patch)
tree9c512dad27edfde8d130c945d6e94494158172ed /src/spin.c
parent0237870c60104b418ce78b86752bf44b3b478b97 (diff)
downloadjemalloc-743d940dc34495e61145bbe4901ae2c2dcd4c4ef.zip
jemalloc-743d940dc34495e61145bbe4901ae2c2dcd4c4ef.tar.gz
jemalloc-743d940dc34495e61145bbe4901ae2c2dcd4c4ef.tar.bz2
Header refactoring: Split up jemalloc_internal.h
This is a biggy. jemalloc_internal.h has been doing multiple jobs for a while now: - The source of system-wide definitions. - The catch-all include file. - The module header file for jemalloc.c This commit splits up this functionality. The system-wide definitions responsibility has moved to jemalloc_preamble.h. The catch-all include file is now jemalloc_internal_includes.h. The module headers for jemalloc.c are now in jemalloc_internal_[externs|inlines|types].h, just as they are for the other modules.
Diffstat (limited to 'src/spin.c')
-rw-r--r--src/spin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/spin.c b/src/spin.c
index d7eb5fa..d2d3941 100644
--- a/src/spin.c
+++ b/src/spin.c
@@ -1,2 +1,3 @@
#define JEMALLOC_SPIN_C_
-#include "jemalloc/internal/jemalloc_internal.h"
+#include "jemalloc/internal/jemalloc_preamble.h"
+#include "jemalloc/internal/jemalloc_internal_includes.h"