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