summaryrefslogtreecommitdiffstats
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-11-26 13:53:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-11-29 20:55:50 +0100
commit248e5f1cbed581c1bf6288831b6888e2166fb952 (patch)
tree5e4a9f2f384a4e6176f4b06959e0a6e9d93a63fd /lib/vsprintf.c
parentac4854be5e67b4d19884fb4462982d91ca9bc815 (diff)
downloadbarebox-248e5f1cbed581c1bf6288831b6888e2166fb952.tar.gz
barebox-248e5f1cbed581c1bf6288831b6888e2166fb952.tar.xz
compile in simple_strtoull
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/vsprintf.c')
-rw-r--r--lib/vsprintf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 54e162f063..4165f97485 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -56,7 +56,6 @@ long simple_strtol(const char *cp,char **endp,unsigned int base)
}
EXPORT_SYMBOL(simple_strtol);
-#ifdef CFG_64BIT_STRTOUL
unsigned long long simple_strtoull (const char *cp, char **endp, unsigned int base)
{
unsigned long long result = 0, value;
@@ -84,7 +83,6 @@ unsigned long long simple_strtoull (const char *cp, char **endp, unsigned int ba
*endp = (char *) cp;
return result;
}
-#endif /* CFG_64BIT_STRTOUL */
/* we use this so that we can do without the ctype library */
#define is_digit(c) ((c) >= '0' && (c) <= '9')