Changeset 9c16c36 in mainline for uspace/lib/c/generic/time.c
- Timestamp:
- 2018-06-07T17:00:32Z (6 years ago)
- Children:
- 95faa4d
- Parents:
- 8404342
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-05-25 17:07:26)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-07 17:00:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/time.c
r8404342 r9c16c36 503 503 * 504 504 */ 505 suseconds_t tv_sub_diff( struct timeval *tv1,struct timeval *tv2)505 suseconds_t tv_sub_diff(const struct timeval *tv1, const struct timeval *tv2) 506 506 { 507 507 return (tv1->tv_usec - tv2->tv_usec) + … … 531 531 * 532 532 */ 533 int tv_gt( struct timeval *tv1,struct timeval *tv2)533 int tv_gt(const struct timeval *tv1, const struct timeval *tv2) 534 534 { 535 535 if (tv1->tv_sec > tv2->tv_sec) … … 551 551 * 552 552 */ 553 int tv_gteq( struct timeval *tv1,struct timeval *tv2)553 int tv_gteq(const struct timeval *tv1, const struct timeval *tv2) 554 554 { 555 555 if (tv1->tv_sec > tv2->tv_sec)
Note:
See TracChangeset
for help on using the changeset viewer.