Bug 1379878 - Remove umax2s, its last use was removed in bug 1378258. r=njn

--HG--
extra : rebase_source : d9cb0631662ec0015e9c6d268884adb31c5a38bb
This commit is contained in:
Mike Hommey 2017-07-11 14:09:09 +09:00
Родитель 860374cbca
Коммит 26fb8eb7b0
1 изменённых файлов: 0 добавлений и 21 удалений

Просмотреть файл

@ -1081,27 +1081,6 @@ load_acquire_z(size_t *p)
return result;
}
/*
* umax2s() provides minimal integer printing functionality, which is
* especially useful for situations where allocation in vsnprintf() calls would
* potentially cause deadlock.
*/
#define UMAX2S_BUFSIZE 65
char *
umax2s(uintmax_t x, char *s)
{
unsigned i;
i = UMAX2S_BUFSIZE - 1;
s[i] = '\0';
do {
i--;
s[i] = "0123456789"[x % 10];
x /= 10;
} while (x > 0);
return (&s[i]);
}
static void
_malloc_message(const char *p1, const char *p2, const char *p3, const char *p4)
{