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:
parent
cc0d1bf2f1
commit
1b3dcfdc6f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue