From 6b685f8b2885e7347c9c9eb4c724ebf00bc03eeb Mon Sep 17 00:00:00 2001 From: bug1 Date: Fri, 25 Jun 2004 07:05:13 +0000 Subject: Fix compile error when math support disabled. git-svn-id: svn://busybox.net/trunk/busybox@8925 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/ash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index 0f951e84d..da78965ea 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -1445,12 +1445,13 @@ static void changepath(const char *); static void defun(char *, union node *); static void unsetfunc(const char *); -#ifdef CONFIG_ASH_MATH_SUPPORT #ifdef CONFIG_ASH_MATH_SUPPORT_64 typedef int64_t arith_t; #else typedef long arith_t; #endif + +#ifdef CONFIG_ASH_MATH_SUPPORT static arith_t dash_arith(const char *); static arith_t arith(const char *expr, int *perrcode); #endif -- cgit v1.2.3-55-g6feb