X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2F_PDCLIB%2Fstrtox_main.c;h=25aff70300c6c9910656a33f028b0eddddf7e291;hp=57e184555cf1e66f99a58c4561c249289542b300;hb=ca9c9c1d43ea63ec7e820a6c2c5fc213e3c5f840;hpb=c5d3e636bfdbead4da6d41439043b2d10b252180 diff --git a/functions/_PDCLIB/strtox_main.c b/functions/_PDCLIB/strtox_main.c index 57e1845..25aff70 100644 --- a/functions/_PDCLIB/strtox_main.c +++ b/functions/_PDCLIB/strtox_main.c @@ -30,7 +30,7 @@ _PDCLIB_uintmax_t _PDCLIB_strtox_main( const char ** p, int base, _PDCLIB_uintma else { errno = ERANGE; - /* TODO: Only if endptr != NULL */ + /* TODO: Only if endptr != NULL - but do we really want *another* parameter? */ while ( memchr( _PDCLIB_digits, **p, base ) != NULL ) ++(*p); /* TODO: This is ugly, but keeps caller from negating the error value */ *sign = '+';