summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-05-16 20:37:41 (GMT)
committerJason Evans <jasone@canonware.com>2016-06-03 19:27:41 (GMT)
commit93e79c5c3fcb4987f7070cf92b5807ee615553b1 (patch)
treefd1eee8e8a33cf6e674e03815754ae3586acd382 /include
parentf442254bdf4e15ce9f35fa667c5f0c8604c6910d (diff)
downloadjemalloc-93e79c5c3fcb4987f7070cf92b5807ee615553b1.zip
jemalloc-93e79c5c3fcb4987f7070cf92b5807ee615553b1.tar.gz
jemalloc-93e79c5c3fcb4987f7070cf92b5807ee615553b1.tar.bz2
Remove redundant chunk argument from chunk_{,de,re}register().
Diffstat (limited to 'include')
-rw-r--r--include/jemalloc/internal/chunk.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/jemalloc/internal/chunk.h b/include/jemalloc/internal/chunk.h
index be56c2b..05cf3d0 100644
--- a/include/jemalloc/internal/chunk.h
+++ b/include/jemalloc/internal/chunk.h
@@ -52,11 +52,9 @@ chunk_hooks_t chunk_hooks_get(tsdn_t *tsdn, arena_t *arena);
chunk_hooks_t chunk_hooks_set(tsdn_t *tsdn, arena_t *arena,
const chunk_hooks_t *chunk_hooks);
-bool chunk_register(tsdn_t *tsdn, const void *chunk, const extent_t *extent);
-void chunk_deregister(tsdn_t *tsdn, const void *chunk,
- const extent_t *extent);
-void chunk_reregister(tsdn_t *tsdn, const void *chunk,
- const extent_t *extent);
+bool chunk_register(tsdn_t *tsdn, const extent_t *extent);
+void chunk_deregister(tsdn_t *tsdn, const extent_t *extent);
+void chunk_reregister(tsdn_t *tsdn, const extent_t *extent);
void *chunk_alloc_base(size_t size);
void *chunk_alloc_cache(tsdn_t *tsdn, arena_t *arena,
chunk_hooks_t *chunk_hooks, void *new_addr, size_t size, size_t alignment,