Ver código fonte

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

Andreas Kling 6 anos atrás
pai
commit
5451178c63
2 arquivos alterados com 5 adições e 5 exclusões
  1. 5 0
      LibC/sys/time.h
  2. 0 5
      LibC/time.h

+ 5 - 0
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

+ 0 - 5
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) */