diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-26 00:36:53 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-26 00:36:53 +0100 |
commit | 1961aea305e258ba7ab3910d084451220f55ed44 (patch) | |
tree | bd889c8e596051c187b93af9c50508c6009f2683 /shell/math.h | |
parent | 3305c008ed6084f58b59dde5198ae92e3a458e46 (diff) | |
download | busybox-w32-1961aea305e258ba7ab3910d084451220f55ed44.tar.gz busybox-w32-1961aea305e258ba7ab3910d084451220f55ed44.tar.bz2 busybox-w32-1961aea305e258ba7ab3910d084451220f55ed44.zip |
move endofname() to libbb
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rw-r--r-- | shell/math.h | 5 |
1 files changed, 0 insertions, 5 deletions
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; | |||
73 | #define strto_arith_t strtoul | 73 | #define strto_arith_t strtoul |
74 | #endif | 74 | #endif |
75 | 75 | ||
76 | /* ash's and hush's endofname is the same, so... */ | ||
77 | # define is_name(c) ((c) == '_' || isalpha((unsigned char)(c))) | ||
78 | # define is_in_name(c) ((c) == '_' || isalnum((unsigned char)(c))) | ||
79 | const char* FAST_FUNC endofname(const char *name); | ||
80 | |||
81 | typedef const char* FAST_FUNC (*arith_var_lookup_t)(const char *name); | 76 | typedef const char* FAST_FUNC (*arith_var_lookup_t)(const char *name); |
82 | typedef void FAST_FUNC (*arith_var_set_t)(const char *name, const char *val); | 77 | typedef void FAST_FUNC (*arith_var_set_t)(const char *name, const char *val); |
83 | //typedef const char* FAST_FUNC (*arith_var_endofname_t)(const char *name); | 78 | //typedef const char* FAST_FUNC (*arith_var_endofname_t)(const char *name); |