]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - stdio-common/_itoa.c
Remove use of INTDEF/INTUSE in stdio-common
[thirdparty/glibc.git] / stdio-common / _itoa.c
index 12d69541b9b7d0f4a447b5b1af8b378d69991f82..ebb3e857c67b48af07a44cbe305ccb346ab3f6be 100644 (file)
@@ -1,6 +1,5 @@
 /* Internal function for converting integers to ASCII.
-   Copyright (C) 1994, 1995, 1996, 1999, 2000, 2002, 2003, 2004, 2007
-   Free Software Foundation, Inc.
+   Copyright (C) 1994-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Torbjorn Granlund <tege@matematik.su.se>
    and Ulrich Drepper <drepper@gnu.org>.
@@ -160,27 +159,13 @@ const struct base_table_t _itoa_base_table[] attribute_hidden =
 };
 #endif
 
-/* Lower-case digits.  */
-extern const char _itoa_lower_digits[];
-extern const char _itoa_lower_digits_internal[] attribute_hidden;
-/* Upper-case digits.  */
-extern const char _itoa_upper_digits[];
-extern const char _itoa_upper_digits_internal[] attribute_hidden;
-
-
 char *
 _itoa_word (_ITOA_WORD_TYPE value, char *buflim,
            unsigned int base, int upper_case)
 {
   const char *digits = (upper_case
-#if !defined NOT_IN_libc || defined IS_IN_rtld
-                       ? INTUSE(_itoa_upper_digits)
-                       : INTUSE(_itoa_lower_digits)
-#else
                        ? _itoa_upper_digits
-                       : _itoa_lower_digits
-#endif
-                      );
+                       : _itoa_lower_digits);
 
   switch (base)
     {
@@ -213,8 +198,8 @@ _itoa (value, buflim, base, upper_case)
      int upper_case;
 {
   const char *digits = (upper_case
-                       ? INTUSE(_itoa_upper_digits)
-                       : INTUSE(_itoa_lower_digits));
+                       ? _itoa_upper_digits
+                       : _itoa_lower_digits);
   const struct base_table_t *brec = &_itoa_base_table[base - 2];
 
   switch (base)