mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
LibC: Minor compat tweak, move struct timezone to sys/time.h
This commit is contained in:
parent
5c5ce4f885
commit
5451178c63
Notes:
sideshowbarker
2024-07-19 14:37:50 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5451178c63d
@ -4,6 +4,11 @@
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
struct timezone {
|
||||
int tz_minuteswest;
|
||||
int tz_dsttime;
|
||||
};
|
||||
|
||||
int gettimeofday(struct timeval* __restrict__, void* __restrict__) __attribute__((nonnull(1)));
|
||||
|
||||
__END_DECLS
|
||||
|
@ -5,11 +5,6 @@
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
struct timezone {
|
||||
int tz_minuteswest;
|
||||
int tz_dsttime;
|
||||
};
|
||||
|
||||
struct tm {
|
||||
int tm_sec; /* Seconds (0-60) */
|
||||
int tm_min; /* Minutes (0-59) */
|
||||
|
Loading…
Reference in New Issue
Block a user