Changeset 7f1c620 in mainline for test/synch/rwlock4/test.c


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/synch/rwlock4/test.c

    r991779c5 r7f1c620  
    5151static waitq_t can_start;
    5252
    53 __u32 seed = 0xdeadbeef;
     53uint32_t seed = 0xdeadbeef;
    5454
    55 static __u32 random(__u32 max);
     55static uint32_t random(uint32_t max);
    5656
    5757static void writer(void *arg);
     
    5959static void failed(void);
    6060
    61 __u32 random(__u32 max)
     61uint32_t random(uint32_t max)
    6262{
    63         __u32 rc;
     63        uint32_t rc;
    6464
    6565        spinlock_lock(&lock);   
     
    122122{
    123123        context_t ctx;
    124         __u32 i, k;
     124        uint32_t i, k;
    125125       
    126126        printf("Read/write locks test #4\n");
Note: See TracChangeset for help on using the changeset viewer.