aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/itoa-udigits.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-31 08:50:08 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-31 08:50:08 +0000
commitcb7c4a271150ed746021644c8f8c83a32b20534d (patch)
tree875d74396fdd65f5a71e91dcc36f1a368b42259f /stdio-common/itoa-udigits.c
parenta778db0624f4359cd0e1aea9384235d4a376b1a8 (diff)
downloadglibc-cb7c4a271150ed746021644c8f8c83a32b20534d.zip
glibc-cb7c4a271150ed746021644c8f8c83a32b20534d.tar.gz
glibc-cb7c4a271150ed746021644c8f8c83a32b20534d.tar.bz2
Update.
* stdio-common/itoa-digits.c: Move upper digits to... * stdio-common/itoa-udigits.c: ...here. New file. * stdio-common/Makefile (routines): Add itoa-udigits.
Diffstat (limited to 'stdio-common/itoa-udigits.c')
-rw-r--r--stdio-common/itoa-udigits.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/stdio-common/itoa-udigits.c b/stdio-common/itoa-udigits.c
new file mode 100644
index 0000000..9c25b0b
--- /dev/null
+++ b/stdio-common/itoa-udigits.c
@@ -0,0 +1,22 @@
+/* Digits.
+ Copyright (C) 1994, 1995, 1996, 1999, 2000 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
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+/* Upper-case digits. */
+const char _itoa_upper_digits[36]
+ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";