1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:37:34 +00:00

LibC, LibM: Add functions needed to compile python3

This commit is contained in:
Emanuel Sprung 2019-11-11 14:08:20 +01:00 committed by Andreas Kling
parent 3042c942d8
commit e7affa24dc
7 changed files with 136 additions and 1 deletions

View file

@ -134,4 +134,18 @@ int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec* reques
__RETURN_WITH_ERRNO(rc, rc, -1);
}
int clock_getres(clockid_t, struct timespec*)
{
ASSERT_NOT_REACHED();
}
struct tm* gmtime_r(const time_t*, struct tm*)
{
ASSERT_NOT_REACHED();
}
struct tm* localtime_r(const time_t*, struct tm*)
{
ASSERT_NOT_REACHED();
}
}