mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
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
2 changed files with 1 additions and 5 deletions
|
@ -13,28 +13,24 @@ extern "C" {
|
||||||
struct mntent* getmntent(FILE*)
|
struct mntent* getmntent(FILE*)
|
||||||
{
|
{
|
||||||
dbgln("FIXME: Implement getmntent()");
|
dbgln("FIXME: Implement getmntent()");
|
||||||
TODO();
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
FILE* setmntent(char const*, char const*)
|
FILE* setmntent(char const*, char const*)
|
||||||
{
|
{
|
||||||
dbgln("FIXME: Implement setmntent()");
|
dbgln("FIXME: Implement setmntent()");
|
||||||
TODO();
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
int endmntent(FILE*)
|
int endmntent(FILE*)
|
||||||
{
|
{
|
||||||
dbgln("FIXME: Implement endmntent()");
|
dbgln("FIXME: Implement endmntent()");
|
||||||
TODO();
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct mntent* getmntent_r(FILE*, struct mntent*, char*, int)
|
struct mntent* getmntent_r(FILE*, struct mntent*, char*, int)
|
||||||
{
|
{
|
||||||
dbgln("FIXME: Implement getmntent_r()");
|
dbgln("FIXME: Implement getmntent_r()");
|
||||||
TODO();
|
|
||||||
return 0;
|
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*))
|
void* tdelete(const void*, void**, int (*)(const void*, const void*))
|
||||||
{
|
{
|
||||||
dbgln("FIXME: Implement tdelete()");
|
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)
|
static void twalk_internal(const struct search_tree_node* node, void (*action)(const void*, VISIT, int), int depth)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue