aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
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
157 return xstrto(_range_sfx)(numstr, base, lower, upper, NULL); 157 return xstrto(_range_sfx)(numstr, base, lower, upper, NULL);
158} 158}
159 159
160type FAST_FUNC xstrto()(const char *numstr, int base)
161{
162 return xstrto(_range_sfx)(numstr, base, XSTR_TYPE_MIN, XSTR_TYPE_MAX, NULL);
163}
164
160type FAST_FUNC xato(_range_sfx)(const char *numstr, 165type FAST_FUNC xato(_range_sfx)(const char *numstr,
161 type lower, 166 type lower,
162 type upper, 167 type upper,