diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2007-10-24 11:12:15 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2007-10-24 11:12:15 +0000 |
commit | a9e5821fdd289bbfc13733011948c2d5f83faa59 (patch) | |
tree | c94aee8601f47402d913a69fe0b8e73956696da5 /src/console/vtxprintf.c | |
parent | 124e4a45ca6d1b1765b70fdc14ce03c5df76b257 (diff) |
smaller changes to silence build warnings. (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2893 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console/vtxprintf.c')
-rw-r--r-- | src/console/vtxprintf.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c index 26a5d24351..72bbac5fb0 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) { |