diff options
author | Denis Vlasenko | 2006-11-27 14:43:21 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-27 14:43:21 +0000 |
commit | d686a045c8134d3a42fa5cc6b2e09118e08d603f (patch) | |
tree | 38f509fc9556f68f758c77b06b480cc33b2725eb /coreutils/expr.c | |
parent | 8a0a83d503a7971895254efa9e79cf15ba1850d4 (diff) | |
download | busybox-d686a045c8134d3a42fa5cc6b2e09118e08d603f.zip busybox-d686a045c8134d3a42fa5cc6b2e09118e08d603f.tar.gz |
safe_strtoXX interface proved to be a bit unconvenient.
Remove it, introduce saner bb_strtoXX.
Saved ~350 bytes.
Diffstat (limited to 'coreutils/expr.c')
-rw-r--r-- | coreutils/expr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coreutils/expr.c b/coreutils/expr.c index 854a657..1914734 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c @@ -49,6 +49,8 @@ typedef long arith_t; #define STRTOL(s, e, b) strtol(s, e, b) #endif +/* TODO: use bb_strtol[l]? It's easier to check for errors... */ + /* A value is.... */ struct valinfo { TYPE type; /* Which kind. */ |