Changeset 9c16c36 in mainline for uspace/lib/c/generic/time.c


Ignore:
Timestamp:
2018-06-07T17:00:32Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
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)
Message:

initial implementation of a new async call api

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/time.c

    r8404342 r9c16c36  
    503503 *
    504504 */
    505 suseconds_t tv_sub_diff(struct timeval *tv1, struct timeval *tv2)
     505suseconds_t tv_sub_diff(const struct timeval *tv1, const struct timeval *tv2)
    506506{
    507507        return (tv1->tv_usec - tv2->tv_usec) +
     
    531531 *
    532532 */
    533 int tv_gt(struct timeval *tv1, struct timeval *tv2)
     533int tv_gt(const struct timeval *tv1, const struct timeval *tv2)
    534534{
    535535        if (tv1->tv_sec > tv2->tv_sec)
     
    551551 *
    552552 */
    553 int tv_gteq(struct timeval *tv1, struct timeval *tv2)
     553int tv_gteq(const struct timeval *tv1, const struct timeval *tv2)
    554554{
    555555        if (tv1->tv_sec > tv2->tv_sec)
Note: See TracChangeset for help on using the changeset viewer.