X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fregexec.c;h=cba5ea20e3e3bf93a4abcf03e78580320b640f00;hb=c68c756f05b4d51ffa5a12b391ff996990deee14;hp=7c186aa2077bfe98f27f4ccf95eea9b4972ef532;hpb=564569a4dffe68422c48b486a2e0f377bb4a048d;p=gnulib.git diff --git a/lib/regexec.c b/lib/regexec.c index 7c186aa20..cba5ea20e 100644 --- a/lib/regexec.c +++ b/lib/regexec.c @@ -221,10 +221,10 @@ static reg_errcode_t extend_buffers (re_match_context_t *mctx) int regexec (preg, string, nmatch, pmatch, eflags) - const regex_t *__restrict preg; - const char *__restrict string; + const regex_t *_Restrict_ preg; + const char *_Restrict_ string; size_t nmatch; - regmatch_t pmatch[]; + regmatch_t pmatch[_Restrict_arr_]; int eflags; { reg_errcode_t err; @@ -267,8 +267,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,