X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fheap.h;h=28d33c0d49651ad44f4a04b1e52a34b2dc8b04e9;hb=refs%2Ftags%2Frel0.07;hp=38a3f1d0d92fd0e17f41f3d66d618629849d57a9;hpb=6a945643557084578509e149c84cf5dde3c59c3c;p=tpg%2Facess2.git diff --git a/Kernel/include/heap.h b/Kernel/include/heap.h index 38a3f1d0..28d33c0d 100644 --- a/Kernel/include/heap.h +++ b/Kernel/include/heap.h @@ -12,6 +12,7 @@ extern void *Heap_AllocateZero(const char *File, int Line, size_t Bytes); extern void *Heap_Reallocate(const char *File, int Line, void *Ptr, size_t Bytes); extern void Heap_Deallocate(void *Ptr); extern int Heap_IsHeapAddr(void *Ptr); +extern void Heap_Validate(void); #define malloc(size) Heap_Allocate(_MODULE_NAME_"/"__FILE__, __LINE__, (size)) #define calloc(num,size) Heap_AllocateZero(_MODULE_NAME_"/"__FILE__, __LINE__, (num)*(size))