Ignore:
Timestamp:
2018-01-31T12:02:00Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5595841
Parents:
a0a9cc2 (diff), 14d789c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'upstream/master' into forwardport

change tmon includes because of new stdlib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/dist/src/c/demos/tetris/tetris.c

    ra0a9cc2 r2b3dd78  
    157157const struct shape *randshape(void)
    158158{
    159         const struct shape *tmp = &shapes[random() % 7];
     159        const struct shape *tmp = &shapes[rand() % 7];
    160160        int i;
    161         int j = random() % 4;
     161        int j = rand() % 4;
    162162       
    163163        for (i = 0; i < j; i++)
     
    172172       
    173173        gettimeofday(&tv, NULL);
    174         srandom(tv.tv_sec + tv.tv_usec / 100000);
     174        srand(tv.tv_sec + tv.tv_usec / 100000);
    175175}
    176176
Note: See TracChangeset for help on using the changeset viewer.