Changeset 7f1c620 in mainline for generic/include/byteorder.h
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/byteorder.h
r991779c5 r7f1c620 36 36 #define __BYTEORDER_H__ 37 37 38 static inline __u64 __u64_byteorder_swap(__u64n)38 static inline uint64_t uint64_t_byteorder_swap(uint64_t n) 39 39 { 40 40 return ((n & 0xff) << 56) | … … 48 48 } 49 49 50 static inline __u32 __u32_byteorder_swap(__u32n)50 static inline uint32_t uint32_t_byteorder_swap(uint32_t n) 51 51 { 52 52 return ((n & 0xff) << 24) |
Note:
See TracChangeset
for help on using the changeset viewer.