mirror of
https://github.com/cahirwpz/libnix.git
synced 2026-09-11 19:26:17 +00:00
Took out unneeded OpenLibrary line (used in debugging which has disappeared).
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user