PArtial Changelog update. I'm still on vacation (I'm at a campground
[oweals/busybox.git] / expr.c
diff --git a/expr.c b/expr.c
index 10aaa6be1fe4dfb32fd2c370b44dfadb594604e2..d6cc82e3ee5cae81419ded7334fe66ed535a5314 100644 (file)
--- a/expr.c
+++ b/expr.c
@@ -89,8 +89,8 @@ int expr_main (int argc, char **argv)
 
        if (v->type == integer)
                printf ("%d\n", v->u.i);
-       else 
-               printf ("%s\n", v->u.s);
+       else
+               puts (v->u.s);
 
        exit (null (v));
 }
@@ -225,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");       \