#include <windows.h>
-#include <crtdll/malloc.h>
+#include <msvcrt/malloc.h>
-int _heapchk (void)
+int _heapchk(void)
{
if (!HeapValidate(GetProcessHeap(), 0, NULL))
return -1;
return 0;
}
-int _heapmin (void)
+
+int _heapmin(void)
{
- if ( !HeapCompact( GetProcessHeap(), 0 ))
+ if (!HeapCompact(GetProcessHeap(), 0))
return -1;
return 0;
}
-int _heapset (unsigned int unFill)
+
+int _heapset(unsigned int unFill)
{
- if ( _heapchk() == -1 )
+ if (_heapchk() == -1)
return -1;
return 0;
}
-
-int _heapwalk ( struct _heapinfo *entry)
+int _heapwalk(struct _heapinfo* entry)
{
return 0;
}