windows-nt/Source/XPSP1/NT/base/ntsetup/setexts/crt.c

48 lines
525 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 1993 Microsoft Corporation
Module Name:
crt.c
Abstract:
This file implements certain crt apis that are not present in
libcntpr.lib. This implementation is NOT multi-thread safe.
Author:
Wesley Witt (wesw) 6-Feb-1994
Environment:
User Mode
--*/
#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <windows.h>
void * __cdecl
malloc(
size_t sz
)
{
return LocalAlloc( LPTR, sz );
}
void __cdecl
free(
void * ptr
)
{
LocalFree( ptr );
}