mirror of https://github.com/pret/pokeemerald.git
Add explicit return to Alloc funcs
This commit is contained in:
parent
fe12f2f4b3
commit
b251ddf3b4
|
@ -178,12 +178,12 @@ void InitHeap(void *heapStart, u32 heapSize)
|
||||||
|
|
||||||
void *Alloc(u32 size)
|
void *Alloc(u32 size)
|
||||||
{
|
{
|
||||||
AllocInternal(sHeapStart, size);
|
return AllocInternal(sHeapStart, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *AllocZeroed(u32 size)
|
void *AllocZeroed(u32 size)
|
||||||
{
|
{
|
||||||
AllocZeroedInternal(sHeapStart, size);
|
return AllocZeroedInternal(sHeapStart, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Free(void *pointer)
|
void Free(void *pointer)
|
||||||
|
|
Loading…
Reference in New Issue