Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/cap.c

    rb7fd2a0 rd5c1051  
    8181 * and @c cv_max gives the maximum value.
    8282 */
    83 errno_t cap_to_blocks(cap_spec_t *cap, cap_vsel_t cvsel, size_t block_size,
     83int cap_to_blocks(cap_spec_t *cap, cap_vsel_t cvsel, size_t block_size,
    8484    uint64_t *rblocks)
    8585{
     
    9090        uint64_t blocks;
    9191        uint64_t rem;
    92         errno_t rc;
     92        int rc;
    9393
    9494        exp = cap->cunit * 3 - cap->dp;
     
    144144        unsigned sdig;
    145145        unsigned rdig;
    146         errno_t rc;
     146        int rc;
    147147
    148148        /* Change units so that we have at most @c scap_max_idig integer digits */
     
    175175}
    176176
    177 errno_t cap_format(cap_spec_t *cap, char **rstr)
    178 {
    179         errno_t rc;
     177int cap_format(cap_spec_t *cap, char **rstr)
     178{
     179        int rc;
    180180        int ret;
    181181        const char *sunit;
     
    208208}
    209209
    210 static errno_t cap_digit_val(char c, int *val)
     210static int cap_digit_val(char c, int *val)
    211211{
    212212        switch (c) {
     
    228228}
    229229
    230 errno_t cap_parse(const char *str, cap_spec_t *cap)
     230int cap_parse(const char *str, cap_spec_t *cap)
    231231{
    232232        const char *eptr;
Note: See TracChangeset for help on using the changeset viewer.