summaryrefslogtreecommitdiffhomepage
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-05-25 04:15:37 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-05-25 04:15:37 +0200
commitbf2af9acb28ed6d8bbe351d669daaa140d0239f0 (patch)
tree3adba401caf5c25406f89ebe053a0d9dbb043b54 /libbb
parent4f26c97b9a2fdf6d967eafa06c67d04e432840a1 (diff)
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.c5
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,