diff options
| author | David Goldblatt <davidgoldblatt@fb.com> | 2017-05-23 14:42:32 -0700 |
|---|---|---|
| committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2017-05-31 13:08:45 -0700 |
| commit | 98774e64a4696c7bce6d2317aa59fe5b39bba69f (patch) | |
| tree | 66aaaf73b85c8294526e2904720063a798650ff2 /include/jemalloc | |
| parent | 93284bb53d9c44a5c36297450a82aed5b8051526 (diff) | |
| download | platform_external_jemalloc_new-98774e64a4696c7bce6d2317aa59fe5b39bba69f.tar.gz platform_external_jemalloc_new-98774e64a4696c7bce6d2317aa59fe5b39bba69f.tar.bz2 platform_external_jemalloc_new-98774e64a4696c7bce6d2317aa59fe5b39bba69f.zip | |
Header refactoring: unify and de-catchall extent_mmap module.
Diffstat (limited to 'include/jemalloc')
| -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 fe9a79ac..55f17ee4 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 71c856b2..837e9e41 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" |
