cpu/native: fix real_calloc initialization

This commit is contained in:
Ludwig Ortmann 2015-01-04 18:47:18 +01:00
parent 2ea028dd51
commit f5cfda977a

View File

@ -378,6 +378,7 @@ void _native_init_syscalls(void)
*(void **)(&real_read) = dlsym(RTLD_NEXT, "read");
*(void **)(&real_write) = dlsym(RTLD_NEXT, "write");
*(void **)(&real_malloc) = dlsym(RTLD_NEXT, "malloc");
*(void **)(&real_calloc) = dlsym(RTLD_NEXT, "calloc");
*(void **)(&real_realloc) = dlsym(RTLD_NEXT, "realloc");
*(void **)(&real_exit) = dlsym(RTLD_NEXT, "exit");
*(void **)(&real_free) = dlsym(RTLD_NEXT, "free");