Changeset 013e5d32 in mainline for uspace/lib/posix/src/time.c


Ignore:
Timestamp:
2018-03-19T20:35:27Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6d1d143
Parents:
973be387
Message:

More cstyle-related fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/time.c

    r973be387 r013e5d32  
    235235int clock_gettime(clockid_t clock_id, struct timespec *tp)
    236236{
     237        struct timeval tv;
     238
    237239        assert(tp != NULL);
    238240
    239241        switch (clock_id) {
    240242                case CLOCK_REALTIME:
    241                         ;
    242                         struct timeval tv;
    243243                        gettimeofday(&tv, NULL);
    244244                        tp->tv_sec = tv.tv_sec;
Note: See TracChangeset for help on using the changeset viewer.