]> Zhao Yanbai Git Server - minix.git/commitdiff
Moved timing structs around to be more standard
authorBen Gras <ben@minix3.org>
Wed, 1 Jun 2005 09:34:37 +0000 (09:34 +0000)
committerBen Gras <ben@minix3.org>
Wed, 1 Jun 2005 09:34:37 +0000 (09:34 +0000)
include/sys/asynchio.h
include/time.h

index 3bde7128df3fd89685340350b0450408fd6c6bf0..b80ac7d84011afc054ca35dd10cdc6ffd4e3fbf0 100755 (executable)
@@ -24,8 +24,6 @@ typedef struct {
 
 #define ASYN_NONBLOCK  0x01
 
-struct timeval { long tv_sec, tv_usec; };
-
 #define EINPROGRESS    EINTR
 #define ASYN_INPROGRESS        EINPROGRESS
 
index 7e5a4b0546cf11d0477d56e4175c9c84a37ec1e5..bc6022121aae05a8c3d5e8f5d29991d51e56122a 100755 (executable)
@@ -70,4 +70,7 @@ _PROTOTYPE( void tzset, (void)                                                );
 _PROTOTYPE( int stime, (time_t *_top)                                  );
 #endif
 
+struct timeval { long tv_sec, tv_usec; };
+extern long timezone;
+
 #endif /* _TIME_H */