On altos, the primitive input function is ao_getchar, not getchar
[fw/pdclib] / internals / _PDCLIB_int.h
index a46c2dc6c7f93014a58cb85a3949e976891ce821..b510c52eb2d391d88ae1a4139bebefb8eb937c90 100644 (file)
@@ -360,8 +360,8 @@ const char * _PDCLIB_strtox_prelim( const char * p, char * sign, int * base );
 _PDCLIB_uintmax_t _PDCLIB_strtox_main( const char ** p, unsigned int base, _PDCLIB_uintmax_t error, _PDCLIB_uintmax_t limval, int limdigit, char * sign );
 
 /* Digits arrays used by various integer conversion functions */
-extern char _PDCLIB_digits[];
-extern char _PDCLIB_Xdigits[];
+extern const char _PDCLIB_digits[];
+extern const char _PDCLIB_Xdigits[];
 
 /* The worker for all printf() type of functions. The pointer spec should point
    to the introducing '%' of a conversion specifier. The status structure is to