projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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);
if (v->type == integer)
printf ("%d\n", v->u.i);
- else
- p
rintf ("%s\n",
v->u.s);
+ else
+ p
uts (
v->u.s);
exit (null (v));
}
exit (null (v));
}
@@
-225,7
+225,7
@@
int name (l, r) VALUE *l; VALUE *r; \
}
#define arithdivf(name, op) \
}
#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"); \
{ \
if (!toarith (l) || !toarith (r)) \
error_msg_and_die ( "non-numeric argument"); \