summaryrefslogtreecommitdiff
path: root/stdio/_itoa.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdio/_itoa.h')
-rw-r--r--stdio/_itoa.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/stdio/_itoa.h b/stdio/_itoa.h
index 81240507b1..ab3d1d1d3a 100644
--- a/stdio/_itoa.h
+++ b/stdio/_itoa.h
@@ -21,8 +21,6 @@ Cambridge, MA 02139, USA. */
#define _ITOA_H
#include <sys/cdefs.h>
-extern const char _itoa_lower_digits[], _itoa_upper_digits[];
-
/* Convert VALUE into ASCII in base BASE (2..36).
Write backwards starting the character just before BUFLIM.
Return the address of the first (left-to-right) character in the number.
@@ -31,28 +29,4 @@ extern const char _itoa_lower_digits[], _itoa_upper_digits[];
extern char *_itoa __P ((unsigned long long int value, char *buflim,
unsigned int base, int upper_case));
-#ifndef _EXTERN_INLINE
-#define _EXTERN_INLINE extern __inline
-#endif
-
-_EXTERN_INLINE
-char *
-_itoa (unsigned long long int value, char *buflim,
- unsigned int base, int upper_case)
-{
- /* Base-36 digits for numbers. */
- const char *digits = upper_case ? _itoa_upper_digits : _itoa_lower_digits;
-
- register char *bp = buflim;
-
- while (value > 0)
- {
- *--bp = digits[value % base];
- value /= base;
- }
-
- return bp;
-}
-
-
#endif /* itoa.h */