diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2004-03-26 02:31:25 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2004-03-26 02:31:25 +0000 |
commit | 27916da0a914ee6e096bb98b4e5112511221281f (patch) | |
tree | 0f89c1470a08235b98767a6134eaff9ffb4b52d3 | |
parent | 5c34bfd78dd7da7ac0aeb21f30c9eae8e6b2781e (diff) |
removed duplicate function
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1481 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/console/vsprintf.c | 10 |
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) { |