]> git.proxmox.com Git - rustc.git/blobdiff - src/compiler-rt/lib/lsan/lsan_allocator.h
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / compiler-rt / lib / lsan / lsan_allocator.h
index 00c55ae02f15b59d75ef4dd0b03fd4ffae333561..f564601193bd3c1ee0bde71e44c06dcef49a17aa 100644 (file)
@@ -25,7 +25,7 @@ void *Allocate(const StackTrace &stack, uptr size, uptr alignment,
 void Deallocate(void *p);
 void *Reallocate(const StackTrace &stack, void *p, uptr new_size,
                  uptr alignment);
-uptr GetMallocUsableSize(void *p);
+uptr GetMallocUsableSize(const void *p);
 
 template<typename Callable>
 void ForEachChunk(const Callable &callback);