[BusyBox-cvs] CVS update of busybox/shell (ash.c)

Glenn McGrath bug1 at codepoet.org
Fri Jun 25 07:05:14 UTC 2004


    Date: Friday, June 25, 2004 @ 01:05:14
  Author: bug1
    Path: /var/cvs/busybox/shell

Modified: ash.c (1.100 -> 1.101)

Fix compile error when math support disabled.


Index: busybox/shell/ash.c
diff -u busybox/shell/ash.c:1.100 busybox/shell/ash.c:1.101
--- busybox/shell/ash.c:1.100	Tue Jun 22 14:09:40 2004
+++ busybox/shell/ash.c	Fri Jun 25 01:05:13 2004
@@ -1445,12 +1445,13 @@
 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



More information about the busybox-cvs mailing list