Fix compile error when math support disabled.
authorGlenn L McGrath <bug1@ihug.co.nz>
Fri, 25 Jun 2004 07:05:13 +0000 (07:05 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Fri, 25 Jun 2004 07:05:13 +0000 (07:05 -0000)
shell/ash.c

index 0f951e84d835b5991e3ae2b5335ed1eca66c6f78..da78965ea13037ae4d1e09e16d5ed97f06f98a3a 100644 (file)
@@ -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