projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more C standard compat fixes from Dan Fandrich
[platform/upstream/busybox.git]
/
coreutils
/
expr.c
diff --git
a/coreutils/expr.c
b/coreutils/expr.c
index
54c2ee1
..
f5701a4
100644
(file)
--- a/
coreutils/expr.c
+++ b/
coreutils/expr.c
@@
-214,9
+214,9
@@
static arith_t arithmetic_common(VALUE *l, VALUE *r, int op)
static VALUE *docolon(VALUE *sv, VALUE *pv)
{
+ enum { NMATCH = 2 };
VALUE *v;
regex_t re_buffer;
- const int NMATCH = 2;
regmatch_t re_regs[NMATCH];
tostring(sv);