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

LibC: Enough compat work to make binutils-2.32 build and run.

This commit is contained in:
Andreas Kling 2019-02-23 17:24:50 +01:00
parent d7753c7c8d
commit a7a456002e
14 changed files with 110 additions and 45 deletions

View file

@ -83,6 +83,16 @@ struct tm* localtime(const time_t* t)
return &tm_buf;
}
struct tm* gmtime(const time_t* t)
{
return localtime(t);
}
size_t strftime(char *s, size_t max, const char *format, const struct tm *tm)
{
assert(false);
}
long timezone;
long altzone;
char* tzname[2];