px4-firmware/platforms/qurt/unresolved_symbols.c

31 lines
558 B
C

#include <time.h>
void qurt_free(void *ptr);
__attribute__((visibility("default"))) void free(void *ptr)
{
qurt_free(ptr);
// ptr = 0;
}
__attribute__((visibility("default"))) void *malloc(size_t size)
{
return (void *) 0;
}
__attribute__((visibility("default"))) void *calloc(size_t nmemb, size_t size)
{
return (void *) 0;
}
__attribute__((visibility("default"))) void *realloc(void *ptr, size_t size)
{
return (void *) 0;
}
__attribute__((visibility("default"))) int nanosleep(const struct timespec *req, struct timespec *rem)
{
return -1;
}