cpu/native: init _native_in_calloc explicitly
This commit is contained in:
parent
f5cfda977a
commit
3ab73bc633
@ -145,7 +145,7 @@ void free(void *ptr)
|
|||||||
_native_syscall_leave();
|
_native_syscall_leave();
|
||||||
}
|
}
|
||||||
|
|
||||||
int _native_in_calloc;
|
int _native_in_calloc = 0;
|
||||||
void *calloc(size_t nmemb, size_t size)
|
void *calloc(size_t nmemb, size_t size)
|
||||||
{
|
{
|
||||||
/* dynamically load calloc when it's needed - this is necessary to
|
/* dynamically load calloc when it's needed - this is necessary to
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user