From 8b35f207bbd91a5bbca816dbdf5f8f33dd57f19d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 26 May 2019 14:02:10 +0200 Subject: shell: move all definitions of strto_arith_t() together Signed-off-by: Denys Vlasenko --- shell/math.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'shell/math.h') 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; # define ARITH_FMT "%ld" #endif -#if !ENABLE_FEATURE_SH_MATH_BASE -# if ENABLE_FEATURE_SH_MATH_64 -# define strto_arith_t strtoull -# else -# define strto_arith_t strtoul -# endif -#endif - typedef const char* FAST_FUNC (*arith_var_lookup_t)(const char *name); typedef void FAST_FUNC (*arith_var_set_t)(const char *name, const char *val); //typedef const char* FAST_FUNC (*arith_var_endofname_t)(const char *name); -- cgit v1.2.3