Changeset 0d1a8fd in mainline for uspace/app/bithenge/linux/os.h
- Timestamp:
- 2012-06-24T18:44:34Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f2da0bb
- Parents:
- 03b2b2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bithenge/linux/os.h
r03b2b2c r0d1a8fd 85 85 } 86 86 87 static inline char *str_dup(const char *s) 88 { 89 return strdup(s); 90 } 91 87 92 static inline char *str_ndup(const char *s, size_t max_len) 88 93 { … … 100 105 } 101 106 107 static inline uint32_t uint32_t_be2host(uint32_t val) 108 { 109 return be32toh(val); 110 } 111 102 112 #endif
Note:
See TracChangeset
for help on using the changeset viewer.