Add explicit return to Alloc funcs
This commit is contained in:
@@ -178,12 +178,12 @@ void InitHeap(void *heapStart, u32 heapSize)
|
||||
|
||||
void *Alloc(u32 size)
|
||||
{
|
||||
AllocInternal(sHeapStart, size);
|
||||
return AllocInternal(sHeapStart, size);
|
||||
}
|
||||
|
||||
void *AllocZeroed(u32 size)
|
||||
{
|
||||
AllocZeroedInternal(sHeapStart, size);
|
||||
return AllocZeroedInternal(sHeapStart, size);
|
||||
}
|
||||
|
||||
void Free(void *pointer)
|
||||
|
||||
Reference in New Issue
Block a user