libc: Stub out qsort()
This commit is contained in:
parent
9dc8bfbdce
commit
43180b777e
libs/libc
@ -74,6 +74,8 @@ extern "C"
|
|||||||
/* Returns the absolute value of an integer. */
|
/* Returns the absolute value of an integer. */
|
||||||
long long llabs(long long val);
|
long long llabs(long long val);
|
||||||
|
|
||||||
|
void qsort(void*, size_t, size_t, int (*)(const void*, const void*)); // Not implemented.
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -78,4 +78,9 @@ extern "C"
|
|||||||
{
|
{
|
||||||
return __builtin_llabs(val);
|
return __builtin_llabs(val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void qsort(void*, size_t, size_t, int (*)(const void*, const void*))
|
||||||
|
{
|
||||||
|
NOT_IMPLEMENTED("qsort");
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user