mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-11-27 18:20:31 +00:00
zone: constify Z_Realloc
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
674da3b6c1
commit
ff86701895
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user