Took out unneeded OpenLibrary line (used in debugging which has disappeared).

This commit is contained in:
jshepher 2004-12-03 00:54:22 +00:00
parent dc9173248c
commit 7f84c8e269
1 changed files with 3 additions and 4 deletions

View File

@ -59,10 +59,9 @@ void *malloc(size_t size)
void __initmalloc(void)
{
struct Library *DOSBase = OpenLibrary("dos.library", 0);
NewList((struct List *)&__memorylist);
__memsema = AllocMem(sizeof(struct SignalSemaphore), MEMF_PUBLIC | MEMF_CLEAR);
InitSemaphore(__memsema);
NewList((struct List *)&__memorylist);
__memsema = AllocMem(sizeof(struct SignalSemaphore), MEMF_PUBLIC | MEMF_CLEAR);
InitSemaphore(__memsema);
}
void __exitmalloc(void)