From bf2af9acb28ed6d8bbe351d669daaa140d0239f0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 25 May 2009 04:15:37 +0200 Subject: flash_lock, flash_unlock: new applets By Thierry Reding (thierry.reding AT avionic-design.de) Signed-off-by: Thierry Reding Signed-off-by: Denys Vlasenko --- libbb/xatonum_template.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbb/xatonum_template.c') 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, -- cgit v1.2.3