diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-05-25 04:15:37 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-05-25 04:15:37 +0200 |
commit | bf2af9acb28ed6d8bbe351d669daaa140d0239f0 (patch) | |
tree | 3adba401caf5c25406f89ebe053a0d9dbb043b54 /libbb | |
parent | 4f26c97b9a2fdf6d967eafa06c67d04e432840a1 (diff) | |
download | busybox-bf2af9acb28ed6d8bbe351d669daaa140d0239f0.tar.gz |
flash_lock, flash_unlock: new applets
By Thierry Reding (thierry.reding AT avionic-design.de)
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/xatonum_template.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbb/xatonum_template.c b/libbb/xatonum_template.c index 5e0bb59e6..339a7d35f 100644 --- a/libbb/xatonum_template.c +++ b/libbb/xatonum_template.c @@ -157,6 +157,11 @@ type FAST_FUNC xstrto(_range)(const char *numstr, int base, type lower, type upp return xstrto(_range_sfx)(numstr, base, lower, upper, NULL); } +type FAST_FUNC xstrto()(const char *numstr, int base) +{ + return xstrto(_range_sfx)(numstr, base, XSTR_TYPE_MIN, XSTR_TYPE_MAX, NULL); +} + type FAST_FUNC xato(_range_sfx)(const char *numstr, type lower, type upper, |