diff options
author | David Goldblatt <davidgoldblatt@fb.com> | 2017-04-11 01:17:55 (GMT) |
---|---|---|
committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2017-04-11 18:52:30 (GMT) |
commit | 743d940dc34495e61145bbe4901ae2c2dcd4c4ef (patch) | |
tree | 9c512dad27edfde8d130c945d6e94494158172ed /src/spin.c | |
parent | 0237870c60104b418ce78b86752bf44b3b478b97 (diff) | |
download | jemalloc-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |