LibC: Minor compat tweak, move struct timezone to sys/time.h

This commit is contained in:
Andreas Kling 2019-04-21 02:59:20 +02:00
parent 5c5ce4f885
commit 5451178c63
Notes: sideshowbarker 2024-07-19 14:37:50 +09:00
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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) */