zone: constify Z_Realloc

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2012-12-21 16:59:25 +10:30
parent 674da3b6c1
commit ff86701895
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ Z_Malloc(int size)
* ========================
*/
void *
Z_Realloc(void *ptr, int size)
Z_Realloc(const void *ptr, int size)
{
memblock_t *block;
int orig_size;

View File

@ -91,7 +91,7 @@ void Memory_Init(void *buf, int size);
void Z_Free(const void *ptr);
void *Z_Malloc(int size); // returns 0 filled memory
void *Z_Realloc(void *ptr, int size);
void *Z_Realloc(const void *ptr, int size);
void *Hunk_Alloc(int size); // returns 0 filled memory
void *Hunk_AllocName(int size, const char *name);