summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath2004-06-25 07:05:13 +0000
committerGlenn L McGrath2004-06-25 07:05:13 +0000
commit5f2a23c3c6f1a18bc8985c1cb4e860217d4d8467 (patch)
treec78f9eb70e227aea8b7adbb0f55e15e61651227a
parent5275b1e49f62c273f5d3ef14f093eb8661f54843 (diff)
downloadbusybox-5f2a23c3c6f1a18bc8985c1cb4e860217d4d8467.zip
busybox-5f2a23c3c6f1a18bc8985c1cb4e860217d4d8467.tar.gz
Fix compile error when math support disabled.
-rw-r--r--shell/ash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 0f951e8..da78965 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