diff options
Diffstat (limited to 'posix/regex.h')
-rw-r--r-- | posix/regex.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/posix/regex.h b/posix/regex.h index 5edeff3..8576fe6 100644 --- a/posix/regex.h +++ b/posix/regex.h @@ -514,12 +514,14 @@ extern int re_exec _RE_ARGS ((const char *)); #endif /* POSIX compatibility. */ -extern int regcomp _RE_ARGS ((regex_t *__preg, const char *__pattern, +extern int regcomp _RE_ARGS ((regex_t *__restrict __preg, + const char *__restrict __pattern, int __cflags)); -extern int regexec _RE_ARGS ((const regex_t *__preg, - const char *__string, size_t __nmatch, - regmatch_t __pmatch[], int __eflags)); +extern int regexec _RE_ARGS ((const regex_t *__restrict __preg, + const char *__restrict __string, size_t __nmatch, + regmatch_t __pmatch[__restrict_arr], + int __eflags)); extern size_t regerror _RE_ARGS ((int __errcode, const regex_t *__preg, char *__errbuf, size_t __errbuf_size)); |