1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:47:44 +00:00

LibC: Stub out tdelete

This commit is contained in:
Tim Schumacher 2021-10-14 21:21:25 +02:00 committed by Brian Gianforcaro
parent 4b423a5ec7
commit a66c358c52
2 changed files with 7 additions and 0 deletions

View file

@ -90,6 +90,12 @@ void* tfind(const void* key, void* const* rootp, int (*comparator)(const void*,
return nullptr;
}
void* tdelete(const void*, void**, int (*)(const void*, const void*))
{
dbgln("FIXME: Implement tdelete()");
TODO();
}
static void twalk_internal(const struct search_tree_node* node, void (*action)(const void*, VISIT, int), int depth)
{
if (!node)

View file

@ -17,6 +17,7 @@ typedef enum {
void* tsearch(const void*, void**, int (*)(const void*, const void*));
void* tfind(const void*, void* const*, int (*)(const void*, const void*));
void* tdelete(const void*, void**, int (*)(const void*, const void*));
void twalk(const void*, void (*)(const void*, VISIT, int));
__END_DECLS