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:
parent
4b423a5ec7
commit
a66c358c52
2 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue