Ignore:
Timestamp:
2018-01-15T21:54:21Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8348846
Parents:
c718bda
Message:

Add missing standard functions to <ctype.h>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/source/stdlib/strtold.c

    rc718bda rdbbbe75b  
    347347        bool after_decimal = false;
    348348       
    349         while (posix_isxdigit(*str) || (!after_decimal && *str == DECIMAL_POINT)) {
     349        while (isxdigit(*str) || (!after_decimal && *str == DECIMAL_POINT)) {
    350350                if (*str == DECIMAL_POINT) {
    351351                        after_decimal = true;
     
    459459        /* check for a hex number */
    460460        if (nptr[i] == '0' && tolower(nptr[i + 1]) == 'x' &&
    461             (posix_isxdigit(nptr[i + 2]) ||
    462             (nptr[i + 2] == RADIX && posix_isxdigit(nptr[i + 3])))) {
     461            (isxdigit(nptr[i + 2]) ||
     462            (nptr[i + 2] == RADIX && isxdigit(nptr[i + 3])))) {
    463463                i += 2;
    464464               
Note: See TracChangeset for help on using the changeset viewer.