From 5be8418cb0856aff4de059802570eb12d558c91f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 29 May 2012 23:55:13 +0200 Subject: Remove use of INTDEF/INTUSE in stdio-common --- elf/dl-minimal.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'elf/dl-minimal.c') diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c index 4a97f56..a8b2d4f 100644 --- a/elf/dl-minimal.c +++ b/elf/dl-minimal.c @@ -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) -- cgit v1.1