From 30d665adea53e84ee232e04450c91e59a0b3d90c Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 20 Jan 2016 22:10:38 +0200 Subject: Minor regex code cleanup. --- regcomp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regcomp.c') diff --git a/regcomp.c b/regcomp.c index 35a6c218..4ddbade0 100644 --- a/regcomp.c +++ b/regcomp.c @@ -137,7 +137,7 @@ static reg_errcode_t mark_opt_subexp (void *extra, bin_tree_t *node); POSIX doesn't require that we do anything for REG_NOERROR, but why not be nice? */ -static const char __re_error_msgid[] attribute_hidden = +static const char __re_error_msgid[] = { #define REG_NOERROR_IDX 0 gettext_noop ("Success") /* REG_NOERROR */ @@ -191,7 +191,7 @@ static const char __re_error_msgid[] attribute_hidden = gettext_noop ("Unmatched ) or \\)") /* REG_ERPAREN */ }; -static const size_t __re_error_msgid_idx[] attribute_hidden = +static const size_t __re_error_msgid_idx[] = { REG_NOERROR_IDX, REG_NOMATCH_IDX, -- cgit v1.2.3