From 043b1e5d997d9b582a5aee37bd56e2e4f29be6e4 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 6 Sep 2009 12:47:55 +0200 Subject: more C standard compat fixes from Dan Fandrich function old new delta docolon 207 204 -3 Signed-off-by: Denys Vlasenko --- coreutils/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/expr.c') diff --git a/coreutils/expr.c b/coreutils/expr.c index 54c2ee165..f5701a460 100644 --- 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); -- cgit v1.2.3