aboutsummaryrefslogtreecommitdiff
path: root/coreutils/expr.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-27 14:43:21 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-27 14:43:21 +0000
commit278809224505ecc8bbef7b9a86982bf35b46e719 (patch)
tree38f509fc9556f68f758c77b06b480cc33b2725eb /coreutils/expr.c
parent7efaf01635fb84c9c6cbaa179831423f2d11bcf3 (diff)
downloadbusybox-w32-278809224505ecc8bbef7b9a86982bf35b46e719.tar.gz
busybox-w32-278809224505ecc8bbef7b9a86982bf35b46e719.tar.bz2
busybox-w32-278809224505ecc8bbef7b9a86982bf35b46e719.zip
safe_strtoXX interface proved to be a bit unconvenient.
Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. git-svn-id: svn://busybox.net/trunk/busybox@16684 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/expr.c')
-rw-r--r--coreutils/expr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/coreutils/expr.c b/coreutils/expr.c
index 854a657f9..191473446 100644
--- a/coreutils/expr.c
+++ b/coreutils/expr.c
@@ -49,6 +49,8 @@ typedef long arith_t;
49#define STRTOL(s, e, b) strtol(s, e, b) 49#define STRTOL(s, e, b) strtol(s, e, b)
50#endif 50#endif
51 51
52/* TODO: use bb_strtol[l]? It's easier to check for errors... */
53
52/* A value is.... */ 54/* A value is.... */
53struct valinfo { 55struct valinfo {
54 TYPE type; /* Which kind. */ 56 TYPE type; /* Which kind. */