Changeset 0d1a8fd in mainline for uspace/app/bithenge/linux/os.h


Ignore:
Timestamp:
2012-06-24T18:44:34Z (12 years ago)
Author:
Sean Bartell <wingedtachikoma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f2da0bb
Parents:
03b2b2c
Message:

Bithenge: allow primitive transforms in scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bithenge/linux/os.h

    r03b2b2c r0d1a8fd  
    8585}
    8686
     87static inline char *str_dup(const char *s)
     88{
     89        return strdup(s);
     90}
     91
    8792static inline char *str_ndup(const char *s, size_t max_len)
    8893{
     
    100105}
    101106
     107static inline uint32_t uint32_t_be2host(uint32_t val)
     108{
     109        return be32toh(val);
     110}
     111
    102112#endif
Note: See TracChangeset for help on using the changeset viewer.