1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

Remove use of INTDEF/INTUSE in stdio-common

This commit is contained in:
Andreas Schwab
2012-05-29 23:55:13 +02:00
parent 12e5e0f357
commit 5be8418cb0
12 changed files with 54 additions and 66 deletions

View File

@ -315,12 +315,10 @@ _itoa (value, buflim, base, upper_case)
unsigned int base;
int upper_case;
{
extern const char INTUSE(_itoa_lower_digits)[] attribute_hidden;
assert (! upper_case);
do
*--buflim = INTUSE(_itoa_lower_digits)[value % base];
*--buflim = _itoa_lower_digits[value % base];
while ((value /= base) != 0);
return buflim;
@ -380,5 +378,5 @@ rtld_hidden_def (__chk_fail)
/* The '_itoa_lower_digits' variable in libc.so is able to handle bases
up to 36. We don't need this here. */
const char INTUSE(_itoa_lower_digits)[16] attribute_hidden
= "0123456789abcdef";
const char _itoa_lower_digits[16] = "0123456789abcdef";
rtld_hidden_data_def (_itoa_lower_digits)