Another update from Larry:
[oweals/busybox.git] / expr.c
diff --git a/expr.c b/expr.c
index 3b454bd3a96be8d508df327965286665661ee263..4a537bf33077d5490b6f3793a25d0a5f5ab0541e 100644 (file)
--- a/expr.c
+++ b/expr.c
@@ -33,6 +33,8 @@
  * One function can handle multiple operators all of equal precedence,
  * provided they all associate ((x op x) op x). */
 
+/* no getopt needed */
+
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
@@ -223,7 +225,7 @@ int name (l, r) VALUE *l; VALUE *r;         \
 }
 
 #define arithdivf(name, op)                    \
-int name (l, r) VALUE *l; VALUE *r;            \
+static int name (l, r) VALUE *l; VALUE *r;             \
 {                                              \
   if (!toarith (l) || !toarith (r))            \
     error_msg_and_die ( "non-numeric argument");       \