about summary refs log tree commit diff
path: root/stdio-common/_itoa.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/_itoa.h')
-rw-r--r--stdio-common/_itoa.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/stdio-common/_itoa.h b/stdio-common/_itoa.h
index 1b4b0ff6c4..42bc3400fa 100644
--- a/stdio-common/_itoa.h
+++ b/stdio-common/_itoa.h
@@ -29,12 +29,18 @@
 extern char *_itoa (unsigned long long int value, char *buflim,
 		    unsigned int base, int upper_case);
 
+extern const char _itoa_upper_digits[];
+extern const char _itoa_upper_digits_internal[] attribute_hidden;
+extern const char _itoa_lower_digits[];
+extern const char _itoa_lower_digits_internal[] attribute_hidden;
+
 static inline char * __attribute__ ((unused))
 _itoa_word (unsigned long value, char *buflim,
 	    unsigned int base, int upper_case)
 {
-  extern const char _itoa_upper_digits[], _itoa_lower_digits[];
-  const char *digits = upper_case ? _itoa_upper_digits : _itoa_lower_digits;
+  const char *digits = (upper_case
+			? INTUSE(_itoa_upper_digits)
+			: INTUSE(_itoa_lower_digits));
 
   switch (base)
     {