diff --git a/newlib/libc/include/regex.h b/newlib/libc/include/regex.h index fa3e26879..4da1a374e 100644 --- a/newlib/libc/include/regex.h +++ b/newlib/libc/include/regex.h @@ -96,7 +96,7 @@ __BEGIN_DECLS int regcomp(regex_t *__restrict, const char *__restrict, int); size_t regerror(int, const regex_t *__restrict, char *__restrict, size_t); int regexec(const regex_t *__restrict, const char *__restrict, - size_t, regmatch_t [__restrict], int); + size_t, regmatch_t [__restrict_arr], int); void regfree(regex_t *); __END_DECLS