Minor changes for making apps/baresh compile (tough it doesn't work yet).
[reactos.git] / posix / lib / psxdll / misc / heap.c
1 /* $Id: heap.c,v 1.1 2002/02/24 22:14:05 ea Exp $
2 *
3 * FILE: reactos/subsys/psx/lib/psxdll/misc/heap.c
4 * COPYRIGHT: See COPYING in the top level directory
5 * PROJECT: ReactOS POSIX+ Subsystem
6 * PURPOSE: Support routines for crt0.c
7 * UPDATE HISTORY:
8 * 2001-05-06
9 */
10 #define NTOS_MODE_USER
11 #include <ntos.h>
12 #include <napi/teb.h>
13 HANDLE STDCALL GetProcessHeap (VOID)
14 {
15 return (HANDLE)NtCurrentPeb()->ProcessHeap;
16 }
17 /* EOF */