Changeset 02f547f in mainline
- Timestamp:
- 2018-08-25T09:15:46Z (6 years ago)
- Children:
- cc36562b
- Parents:
- b43f393
- git-author:
- Jakub Jermar <jakub@…> (2018-08-25 09:15:38)
- git-committer:
- Jakub Jermar <jakub@…> (2018-08-25 09:15:46)
- Location:
- uspace/lib/posix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/sys/time.h
rb43f393 r02f547f 36 36 #include "libc/time.h" 37 37 38 #define DST_NONE 039 40 38 struct timeval { 41 39 time_t tv_sec; /* seconds */ … … 43 41 }; 44 42 45 struct timezone { 46 int tz_minuteswest; /* minutes W of Greenwich */ 47 int tz_dsttime; /* type of dst correction */ 48 }; 49 50 extern int gettimeofday(struct timeval *, struct timezone *); 43 extern int gettimeofday(struct timeval *, void *); 51 44 52 45 #endif -
uspace/lib/posix/src/time.c
rb43f393 r02f547f 330 330 } 331 331 332 int gettimeofday(struct timeval *tv, struct timezone*tz)332 int gettimeofday(struct timeval *tv, void *tz) 333 333 { 334 334 struct timespec ts;
Note:
See TracChangeset
for help on using the changeset viewer.