From 5451178c63d9bffddf48d2f854201b71f9d5e25c Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 21 Apr 2019 02:59:20 +0200 Subject: [PATCH] LibC: Minor compat tweak, move struct timezone to sys/time.h --- LibC/sys/time.h | 5 +++++ LibC/time.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/LibC/sys/time.h b/LibC/sys/time.h index 970aa3f971..9d93686923 100644 --- a/LibC/sys/time.h +++ b/LibC/sys/time.h @@ -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 diff --git a/LibC/time.h b/LibC/time.h index 331d9e842c..27a5c1cadc 100644 --- a/LibC/time.h +++ b/LibC/time.h @@ -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) */