From 27916da0a914ee6e096bb98b4e5112511221281f Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Fri, 26 Mar 2004 02:31:25 +0000 Subject: removed duplicate function git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1481 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/console/vsprintf.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/console') 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) { -- cgit v1.2.3