Changeset 7f1c620 in mainline for generic/include/bitops.h


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/include/bitops.h

    r991779c5 r7f1c620  
    4343 * If number is zero, it returns 0
    4444 */
    45 static inline int fnzb32(__u32 arg)
     45static inline int fnzb32(uint32_t arg)
    4646{
    4747        int n = 0;
     
    5555}
    5656
    57 static inline int fnzb64(__u64 arg)
     57static inline int fnzb64(uint64_t arg)
    5858{
    5959        int n = 0;
    6060
    6161        if (arg >> 32) { arg >>= 32;n += 32;}
    62         return n + fnzb32((__u32) arg);
     62        return n + fnzb32((uint32_t) arg);
    6363}
    6464
Note: See TracChangeset for help on using the changeset viewer.