From ee7514b91beb254a7dc62f618046d34036555cea Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 27 Dec 2018 11:45:21 -0800 Subject: Update from Gnulib * build-aux/config.guess, lib/regcomp.c, lib/regex.c: * lib/regex_internal.h, lib/regexec.c: Copy from Gnulib. --- lib/regexec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/regexec.c') diff --git a/lib/regexec.c b/lib/regexec.c index c7d099c38e4..5f682695c44 100644 --- a/lib/regexec.c +++ b/lib/regexec.c @@ -189,7 +189,7 @@ static reg_errcode_t extend_buffers (re_match_context_t *mctx, int min_len); We return 0 if we find a match and REG_NOMATCH if not. */ int -regexec (const regex_t *_Restrict_ preg, const char *_Restrict_ string, +regexec (const regex_t *__restrict preg, const char *__restrict string, size_t nmatch, regmatch_t pmatch[], int eflags) { reg_errcode_t err; @@ -232,8 +232,8 @@ __typeof__ (__regexec) __compat_regexec; int attribute_compat_text_section -__compat_regexec (const regex_t *_Restrict_ preg, - const char *_Restrict_ string, size_t nmatch, +__compat_regexec (const regex_t *__restrict preg, + const char *__restrict string, size_t nmatch, regmatch_t pmatch[], int eflags) { return regexec (preg, string, nmatch, pmatch, -- cgit v1.2.1