Replace __restrict with __restrict_arr in regex.h

when a C++ source file include this header file, it would build fail.

Signed-off-by: yang.zhang <zhangyang01@kylinos.cn>
This commit is contained in:
yang.zhang 2024-08-29 11:08:04 +08:00 committed by Corinna Vinschen
parent cc0d1bf2f1
commit 1b3dcfdc6f
1 changed files with 1 additions and 1 deletions

View File

@ -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