mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-07 03:31:40 +00:00
__errno should not be here
This commit is contained in:
parent
e2a3ea6da8
commit
4a78f4a90c
@ -31,12 +31,6 @@
|
|||||||
|
|
||||||
void referenceMyMalloc() {}
|
void referenceMyMalloc() {}
|
||||||
|
|
||||||
int* __errno()
|
|
||||||
{
|
|
||||||
static int realErrno = 0;
|
|
||||||
return &realErrno;
|
|
||||||
}
|
|
||||||
|
|
||||||
void *_malloc_r(struct _reent *reent_ptr, size_t sz)
|
void *_malloc_r(struct _reent *reent_ptr, size_t sz)
|
||||||
{
|
{
|
||||||
Ptr p = NewPtr(sz);
|
Ptr p = NewPtr(sz);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user