From 1961aea305e258ba7ab3910d084451220f55ed44 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 26 Feb 2013 00:36:53 +0100 Subject: move endofname() to libbb Signed-off-by: Denys Vlasenko --- shell/math.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'shell/math.h') diff --git a/shell/math.h b/shell/math.h index 2d305eb12..864bee691 100644 --- a/shell/math.h +++ b/shell/math.h @@ -73,11 +73,6 @@ typedef long arith_t; #define strto_arith_t strtoul #endif -/* ash's and hush's endofname is the same, so... */ -# define is_name(c) ((c) == '_' || isalpha((unsigned char)(c))) -# define is_in_name(c) ((c) == '_' || isalnum((unsigned char)(c))) -const char* FAST_FUNC endofname(const char *name); - 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