cpu/native: init _native_in_calloc explicitly

This commit is contained in:
Ludwig Ortmann 2015-01-05 17:50:37 +01:00
parent f5cfda977a
commit 3ab73bc633

View File

@ -145,7 +145,7 @@ void free(void *ptr)
_native_syscall_leave();
}
int _native_in_calloc;
int _native_in_calloc = 0;
void *calloc(size_t nmemb, size_t size)
{
/* dynamically load calloc when it's needed - this is necessary to