ultoa_r modifies its output, it returns a char *.
* the ascii representation for number 'n' in decimal.
*/
extern char itoa_str[][171];
-extern const char *ultoa_r(unsigned long n, char *buffer, int size);
+extern char *ultoa_r(unsigned long n, char *buffer, int size);
extern const char *ulltoh_r(unsigned long long n, char *buffer, int size);
static inline const char *ultoa(unsigned long n)
{
* This function simply returns a locally allocated string containing
* the ascii representation for number 'n' in decimal.
*/
-const char *ultoa_r(unsigned long n, char *buffer, int size)
+char *ultoa_r(unsigned long n, char *buffer, int size)
{
char *pos;