Index: src/platform.h |
=================================================================== |
--- src/platform.h (revision 10785) |
+++ src/platform.h (working copy) |
@@ -183,7 +183,10 @@ |
static void Guard(void* address, const size_t size); |
// Generate a random address to be used for hinting mmap(). |
+ // TODO(cdn) these should be rolled into the same function but but this |
+ // patch needs to be easy to merge. |
static void* GetRandomMmapAddr(); |
+ static void* GetRandomAddr(); |
// Get the Alignment guaranteed by Allocate(). |
static size_t AllocateAlignment(); |