Changeset 7f1c620 in mainline for generic/src/time/clock.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
  • generic/src/time/clock.c

    r991779c5 r7f1c620  
    5858/* Pointers to public variables with time */
    5959struct ptime {
    60         __native seconds1;
    61         __native useconds;
    62         __native seconds2;
     60        unative_t seconds1;
     61        unative_t useconds;
     62        unative_t seconds2;
    6363};
    6464struct ptime *public_time;
     
    6666 * seconds correctly
    6767 */
    68 static __native secfrag = 0;
     68static unative_t secfrag = 0;
    6969
    7070/** Initialize realtime clock counter
     
    9191        public_time->useconds = 0;
    9292
    93         sysinfo_set_item_val("clock.faddr", NULL, (__native)faddr);
     93        sysinfo_set_item_val("clock.faddr", NULL, (unative_t)faddr);
    9494}
    9595
     
    166166
    167167        if (THREAD) {
    168                 __u64 ticks;
     168                uint64_t ticks;
    169169               
    170170                spinlock_lock(&CPU->lock);
Note: See TracChangeset for help on using the changeset viewer.