Changeset 5a6cc679 in mainline for uspace/lib/bithenge/src/linux


Ignore:
Timestamp:
2018-01-31T02:21:24Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/bithenge/src/linux/common.h

    r132ab5d1 r5a6cc679  
    5555}
    5656
    57 static inline int string_iterator_next(string_iterator_t *i, wchar_t *out)
     57static inline errno_t string_iterator_next(string_iterator_t *i, wchar_t *out)
    5858{
    5959        wint_t rc = btowc(*(*i)++); // TODO
     
    8282}
    8383
    84 static inline int str_lcmp(const char *s1, const char *s2, size_t max_len)
     84static inline errno_t str_lcmp(const char *s1, const char *s2, size_t max_len)
    8585{
    8686        return strncmp(s1, s2, max_len);
     
    132132}
    133133
    134 static inline int bithenge_parse_int(const char *start, bithenge_int_t *result)
     134static inline errno_t bithenge_parse_int(const char *start, bithenge_int_t *result)
    135135{
    136136        errno = 0;
Note: See TracChangeset for help on using the changeset viewer.