projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New module 'vasprintf-posix'.
[gnulib.git]
/
lib
/
regexec.c
diff --git
a/lib/regexec.c
b/lib/regexec.c
index
7c186aa
..
cba5ea2
100644
(file)
--- 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)
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;
size_t nmatch;
- regmatch_t pmatch[];
+ regmatch_t pmatch[
_Restrict_arr_
];
int eflags;
{
reg_errcode_t err;
int eflags;
{
reg_errcode_t err;
@@
-267,8
+267,8
@@
__typeof__ (__regexec) __compat_regexec;
int
attribute_compat_text_section
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,
regmatch_t pmatch[], int eflags)
{
return regexec (preg, string, nmatch, pmatch,