summaryrefslogtreecommitdiff
path: root/src/console/vsprintf.c
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2004-03-26 02:31:25 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2004-03-26 02:31:25 +0000
commit27916da0a914ee6e096bb98b4e5112511221281f (patch)
tree0f89c1470a08235b98767a6134eaff9ffb4b52d3 /src/console/vsprintf.c
parent5c34bfd78dd7da7ac0aeb21f30c9eae8e6b2781e (diff)
downloadcoreboot-27916da0a914ee6e096bb98b4e5112511221281f.tar.xz
removed duplicate function
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1481 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console/vsprintf.c')
-rw-r--r--src/console/vsprintf.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c
index cabede0991..129f02ea48 100644
--- a/src/console/vsprintf.c
+++ b/src/console/vsprintf.c
@@ -15,16 +15,6 @@
#define isdigit(c) ((c) >= '0' && (c) <= '9')
#define is_digit isdigit
#define isxdigit(c) (((c) >= '0' && (c) <= '9') || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F'))
-#define islower(c) ((c) >= 'a' && (c) <= 'z')
-#define toupper(c) __toupper(c)
-
-static inline unsigned char __toupper(unsigned char c)
-{
- if (islower(c))
- c -= 'a'-'A';
- return c;
-}
-
unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base)
{