libc: Stub out qsort()

This commit is contained in:
apio 2022-10-23 11:19:08 +02:00
parent 9dc8bfbdce
commit 43180b777e
2 changed files with 7 additions and 0 deletions

View File

@ -74,6 +74,8 @@ extern "C"
/* Returns the absolute value of an integer. */
long long llabs(long long val);
void qsort(void*, size_t, size_t, int (*)(const void*, const void*)); // Not implemented.
#ifdef __cplusplus
}
#endif

View File

@ -78,4 +78,9 @@ extern "C"
{
return __builtin_llabs(val);
}
void qsort(void*, size_t, size_t, int (*)(const void*, const void*))
{
NOT_IMPLEMENTED("qsort");
}
}