aboutsummaryrefslogtreecommitdiff
path: root/coreutils/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/expr.c')
-rw-r--r--coreutils/expr.c2
1 files changed, 1 insertions, 1 deletions
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)
214 214
215static VALUE *docolon(VALUE *sv, VALUE *pv) 215static VALUE *docolon(VALUE *sv, VALUE *pv)
216{ 216{
217 enum { NMATCH = 2 };
217 VALUE *v; 218 VALUE *v;
218 regex_t re_buffer; 219 regex_t re_buffer;
219 const int NMATCH = 2;
220 regmatch_t re_regs[NMATCH]; 220 regmatch_t re_regs[NMATCH];
221 221
222 tostring(sv); 222 tostring(sv);