aboutsummaryrefslogtreecommitdiff
path: root/shell/math.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-05-26 14:02:10 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-05-26 14:02:10 +0200
commit8b35f207bbd91a5bbca816dbdf5f8f33dd57f19d (patch)
tree8f25306a11f796fa31e9e2a6460addfdd955f39d /shell/math.h
parent9501bc7da5f560f3dae6f6a1d2b11efa9d5dfe47 (diff)
downloadbusybox-w32-8b35f207bbd91a5bbca816dbdf5f8f33dd57f19d.tar.gz
busybox-w32-8b35f207bbd91a5bbca816dbdf5f8f33dd57f19d.tar.bz2
busybox-w32-8b35f207bbd91a5bbca816dbdf5f8f33dd57f19d.zip
shell: move all definitions of strto_arith_t() together
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/math.h')
-rw-r--r--shell/math.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/shell/math.h b/shell/math.h
index ec9decb1f..41ef6e8df 100644
--- a/shell/math.h
+++ b/shell/math.h
@@ -71,14 +71,6 @@ typedef long arith_t;
71# define ARITH_FMT "%ld" 71# define ARITH_FMT "%ld"
72#endif 72#endif
73 73
74#if !ENABLE_FEATURE_SH_MATH_BASE
75# if ENABLE_FEATURE_SH_MATH_64
76# define strto_arith_t strtoull
77# else
78# define strto_arith_t strtoul
79# endif
80#endif
81
82typedef const char* FAST_FUNC (*arith_var_lookup_t)(const char *name); 74typedef const char* FAST_FUNC (*arith_var_lookup_t)(const char *name);
83typedef void FAST_FUNC (*arith_var_set_t)(const char *name, const char *val); 75typedef void FAST_FUNC (*arith_var_set_t)(const char *name, const char *val);
84//typedef const char* FAST_FUNC (*arith_var_endofname_t)(const char *name); 76//typedef const char* FAST_FUNC (*arith_var_endofname_t)(const char *name);