LibC: Remove TODO() macros to not break mc port
The TODO() macro crashes the port Midnight Commander on start-up.
This commit is contained in:
parent
99f315bda1
commit
965b772f70
Notes:
sideshowbarker
2024-07-17 20:56:35 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/965b772f706 Pull-request: https://github.com/SerenityOS/serenity/pull/11867 Reviewed-by: https://github.com/linusg
2 changed files with 1 additions and 5 deletions
Userland/Libraries/LibC
|
@ -13,28 +13,24 @@ extern "C" {
|
|||
struct mntent* getmntent(FILE*)
|
||||
{
|
||||
dbgln("FIXME: Implement getmntent()");
|
||||
TODO();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
FILE* setmntent(char const*, char const*)
|
||||
{
|
||||
dbgln("FIXME: Implement setmntent()");
|
||||
TODO();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int endmntent(FILE*)
|
||||
{
|
||||
dbgln("FIXME: Implement endmntent()");
|
||||
TODO();
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct mntent* getmntent_r(FILE*, struct mntent*, char*, int)
|
||||
{
|
||||
dbgln("FIXME: Implement getmntent_r()");
|
||||
TODO();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -96,7 +96,7 @@ void* tfind(const void* key, void* const* rootp, int (*comparator)(const void*,
|
|||
void* tdelete(const void*, void**, int (*)(const void*, const void*))
|
||||
{
|
||||
dbgln("FIXME: Implement tdelete()");
|
||||
TODO();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
static void twalk_internal(const struct search_tree_node* node, void (*action)(const void*, VISIT, int), int depth)
|
||||
|
|
Loading…
Add table
Reference in a new issue