Changeset 5f4cf872 in mainline for uspace/app/bithenge/linux/os.h
- Timestamp:
- 2012-07-18T22:43:55Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ff788c3
- Parents:
- ae49252
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bithenge/linux/os.h
rae49252 r5f4cf872 100 100 } 101 101 102 static inline uint16_t uint16_t_le2host(uint16_t val) 103 { 104 return le16toh(val); 105 } 106 107 static inline uint16_t uint16_t_be2host(uint16_t val) 108 { 109 return be16toh(val); 110 } 111 102 112 static inline uint32_t uint32_t_le2host(uint32_t val) 103 113 { … … 110 120 } 111 121 122 static inline uint64_t uint64_t_le2host(uint64_t val) 123 { 124 return le64toh(val); 125 } 126 127 static inline uint64_t uint64_t_be2host(uint64_t val) 128 { 129 return be64toh(val); 130 } 131 112 132 #endif
Note:
See TracChangeset
for help on using the changeset viewer.