summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko2009-06-15 09:50:54 +0200
committerDenys Vlasenko2009-06-15 09:50:54 +0200
commit4813a5100d70385118ee23b0171e14bc61c81f30 (patch)
treeac753e330f1cab7ab0be5ea87dafbde4d9103e8e /libbb
parentcd3dd42c28832da92ee0d4d3afe7cf722e38f80c (diff)
downloadbusybox-4813a5100d70385118ee23b0171e14bc61c81f30.zip
busybox-4813a5100d70385118ee23b0171e14bc61c81f30.tar.gz
libbb: stop using bb_strtod for now
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/Kbuild2
-rw-r--r--libbb/bb_strtod.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/libbb/Kbuild b/libbb/Kbuild
index 8fddabd..70dc48d 100644
--- a/libbb/Kbuild
+++ b/libbb/Kbuild
@@ -13,7 +13,7 @@ lib-y += bb_basename.o
lib-y += bb_do_delay.o
lib-y += bb_pwd.o
lib-y += bb_qsort.o
-lib-y += bb_strtod.o
+#lib-y += bb_strtod.o
lib-y += bb_strtonum.o
lib-y += change_identity.o
lib-y += chomp.o
diff --git a/libbb/bb_strtod.c b/libbb/bb_strtod.c
index 39bdeb5..1e96710 100644
--- a/libbb/bb_strtod.c
+++ b/libbb/bb_strtod.c
@@ -12,6 +12,7 @@
#define NOT_DIGIT(a) (((unsigned char)(a-'0')) > 9)
+#if 0 // UNUSED
double FAST_FUNC bb_strtod(const char *arg, char **endp)
{
double v;
@@ -36,6 +37,7 @@ double FAST_FUNC bb_strtod(const char *arg, char **endp)
}
return v;
}
+#endif
#if 0
/* String to timespec: "NNNN[.NNNNN]" -> struct timespec.