X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fconsole%2Fvtxprintf.c;h=72bbac5fb0d599f3b2cbc3d3661e777bf0c27476;hb=a9e5821fdd289bbfc13733011948c2d5f83faa59;hp=26a5d2435132927b67abd1fdc1a936d44a5074cb;hpb=124e4a45ca6d1b1765b70fdc14ce03c5df76b257;p=coreboot.git diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c index 26a5d2435..72bbac5fb 100644 --- a/src/console/vtxprintf.c +++ b/src/console/vtxprintf.c @@ -13,6 +13,11 @@ #define is_digit isdigit #define isxdigit(c) (((c) >= '0' && (c) <= '9') || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) +#if 0 +/* We are using number() instead. So this code is obsoleted and should + * probably go away. + */ + static unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base) { unsigned long result = 0,value; @@ -44,7 +49,7 @@ static long simple_strtol(const char *cp,char **endp,unsigned int base) return -simple_strtoul(cp+1,endp,base); return simple_strtoul(cp,endp,base); } - +#endif static int skip_atoi(const char **s) {