about summary refs log tree commit diff
path: root/sysdeps/generic/_itoa.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-05-29 23:55:13 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2012-06-01 01:25:41 +0200
commit5be8418cb0856aff4de059802570eb12d558c91f (patch)
tree687b7a52c60eeeb66b8e25668953cd7e5b2919c0 /sysdeps/generic/_itoa.h
parent12e5e0f35770127bf8ab732b0c625821c4ab96b7 (diff)
downloadglibc-5be8418cb0856aff4de059802570eb12d558c91f.tar.gz
glibc-5be8418cb0856aff4de059802570eb12d558c91f.tar.xz
glibc-5be8418cb0856aff4de059802570eb12d558c91f.zip
Remove use of INTDEF/INTUSE in stdio-common
Diffstat (limited to 'sysdeps/generic/_itoa.h')
-rw-r--r--sysdeps/generic/_itoa.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/sysdeps/generic/_itoa.h b/sysdeps/generic/_itoa.h
index 0a670431e4..2ab401d012 100644
--- a/sysdeps/generic/_itoa.h
+++ b/sysdeps/generic/_itoa.h
@@ -1,5 +1,5 @@
 /* Internal function for converting integers to ASCII.
-   Copyright (C) 1994-1999,2002,2003,2007 Free Software Foundation, Inc.
+   Copyright (C) 1994-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -45,9 +45,11 @@ 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;
+#if !defined NOT_IN_libc || defined IS_IN_rtld
+hidden_proto (_itoa_upper_digits)
+hidden_proto (_itoa_lower_digits)
+#endif
 
 #ifndef NOT_IN_libc
 extern char *_itoa_word (_ITOA_WORD_TYPE value, char *buflim,
@@ -58,14 +60,8 @@ _itoa_word (_ITOA_WORD_TYPE value, char *buflim,
 	    unsigned int base, int upper_case)
 {
   const char *digits = (upper_case
-# if 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)
     {