diff options
author | David Goldblatt <davidgoldblatt@fb.com> | 2017-05-23 21:42:32 (GMT) |
---|---|---|
committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2017-05-31 20:08:45 (GMT) |
commit | 98774e64a4696c7bce6d2317aa59fe5b39bba69f (patch) | |
tree | 66aaaf73b85c8294526e2904720063a798650ff2 /include | |
parent | 93284bb53d9c44a5c36297450a82aed5b8051526 (diff) | |
download | jemalloc-98774e64a4696c7bce6d2317aa59fe5b39bba69f.zip jemalloc-98774e64a4696c7bce6d2317aa59fe5b39bba69f.tar.gz jemalloc-98774e64a4696c7bce6d2317aa59fe5b39bba69f.tar.bz2 |
Header refactoring: unify and de-catchall extent_mmap module.
Diffstat (limited to 'include')
-rw-r--r-- | include/jemalloc/internal/extent_mmap.h (renamed from include/jemalloc/internal/extent_mmap_externs.h) | 6 | ||||
-rw-r--r-- | include/jemalloc/internal/jemalloc_internal_includes.h | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/jemalloc/internal/extent_mmap_externs.h b/include/jemalloc/internal/extent_mmap.h index fe9a79a..55f17ee 100644 --- a/include/jemalloc/internal/extent_mmap_externs.h +++ b/include/jemalloc/internal/extent_mmap.h @@ -1,10 +1,10 @@ #ifndef JEMALLOC_INTERNAL_EXTENT_MMAP_EXTERNS_H #define JEMALLOC_INTERNAL_EXTENT_MMAP_EXTERNS_H -extern bool opt_retain; +extern bool opt_retain; -void *extent_alloc_mmap(void *new_addr, size_t size, size_t alignment, +void *extent_alloc_mmap(void *new_addr, size_t size, size_t alignment, bool *zero, bool *commit); -bool extent_dalloc_mmap(void *addr, size_t size); +bool extent_dalloc_mmap(void *addr, size_t size); #endif /* JEMALLOC_INTERNAL_EXTENT_MMAP_EXTERNS_H */ diff --git a/include/jemalloc/internal/jemalloc_internal_includes.h b/include/jemalloc/internal/jemalloc_internal_includes.h index 71c856b..837e9e4 100644 --- a/include/jemalloc/internal/jemalloc_internal_includes.h +++ b/include/jemalloc/internal/jemalloc_internal_includes.h @@ -65,7 +65,6 @@ #include "jemalloc/internal/jemalloc_internal_externs.h" #include "jemalloc/internal/extent_externs.h" -#include "jemalloc/internal/extent_mmap_externs.h" #include "jemalloc/internal/base_externs.h" #include "jemalloc/internal/arena_externs.h" #include "jemalloc/internal/large_externs.h" |