Took out unneeded OpenLibrary line (used in debugging which has disappeared).
This commit is contained in:
parent
dc9173248c
commit
7f84c8e269
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue