Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/str.h

    rb7fd2a0 r83dab11  
    3939#include <stddef.h>
    4040#include <stdint.h>
    41 #include <errno.h>
    4241
    4342/**< Common Unicode characters */
     
    6867
    6968extern wchar_t str_decode(const char *str, size_t *offset, size_t sz);
    70 extern errno_t chr_encode(wchar_t ch, char *str, size_t *offset, size_t sz);
     69extern int chr_encode(wchar_t ch, char *str, size_t *offset, size_t sz);
    7170
    7271extern size_t str_size(const char *str);
     
    10099extern bool wstr_remove(wchar_t *str, size_t pos);
    101100
    102 extern errno_t str_uint64_t(const char *, char **, unsigned int, bool, uint64_t *);
     101extern int str_uint64_t(const char *, char **, unsigned int, bool, uint64_t *);
    103102
    104103extern void order_suffix(const uint64_t, uint64_t *, char *);
    105104extern void bin_order_suffix(const uint64_t, uint64_t *, const char **, bool);
    106 
    107 extern const char *str_error(errno_t err);
    108 extern const char *str_error_name(errno_t err);
    109105
    110106#endif
Note: See TracChangeset for help on using the changeset viewer.