Changeset 7f1c620 in mainline for generic/include/byteorder.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/byteorder.h

    r991779c5 r7f1c620  
    3636#define __BYTEORDER_H__
    3737
    38 static inline __u64 __u64_byteorder_swap(__u64 n)
     38static inline uint64_t uint64_t_byteorder_swap(uint64_t n)
    3939{
    4040        return ((n & 0xff) << 56) |
     
    4848}
    4949
    50 static inline __u32 __u32_byteorder_swap(__u32 n)
     50static inline uint32_t uint32_t_byteorder_swap(uint32_t n)
    5151{
    5252        return ((n & 0xff) << 24) |
Note: See TracChangeset for help on using the changeset viewer.