diff options
author | Jason Evans <je@fb.com> | 2012-10-09 23:29:21 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2012-10-09 23:29:21 (GMT) |
commit | 2cc11ff83748be63302b0289a3abb1d86e1e437f (patch) | |
tree | bd26b54b43a3263cd461a469e6c6c5456d7b0178 /src/jemalloc.c | |
parent | 247d1248478561c669a85d831e9758089f93a076 (diff) | |
download | jemalloc-2cc11ff83748be63302b0289a3abb1d86e1e437f.zip jemalloc-2cc11ff83748be63302b0289a3abb1d86e1e437f.tar.gz jemalloc-2cc11ff83748be63302b0289a3abb1d86e1e437f.tar.bz2 |
Make malloc_usable_size() implementation consistent with prototype.
Use JEMALLOC_USABLE_SIZE_CONST for the malloc_usable_size()
implementation as well as the prototype, for consistency's sake.
Diffstat (limited to 'src/jemalloc.c')
-rw-r--r-- | src/jemalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c index b04da18..b2daa30 100644 --- a/src/jemalloc.c +++ b/src/jemalloc.c @@ -1282,7 +1282,7 @@ JEMALLOC_EXPORT void *(* __memalign_hook)(size_t alignment, size_t size) = */ size_t -je_malloc_usable_size(const void *ptr) +je_malloc_usable_size(JEMALLOC_USABLE_SIZE_CONST void *ptr) { size_t ret; |