diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/wordexp.h | 2 | ||||
-rw-r--r-- | newlib/libc/posix/wordexp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/include/wordexp.h b/newlib/libc/include/wordexp.h index 8f87681a9..1f09a64c5 100644 --- a/newlib/libc/include/wordexp.h +++ b/newlib/libc/include/wordexp.h @@ -43,7 +43,7 @@ enum { /* Note: This implementation of wordexp requires a version of bash that supports the --wordexp and --protected arguments to be present on the system. It does not support the WRDE_UNDEF flag. */ -int wordexp(const char *, wordexp_t *, int); +int wordexp(const char *__restrict, wordexp_t *__restrict, int); void wordfree(wordexp_t *); #ifdef __cplusplus diff --git a/newlib/libc/posix/wordexp.c b/newlib/libc/posix/wordexp.c index 5c58e461a..3e90c3aee 100644 --- a/newlib/libc/posix/wordexp.c +++ b/newlib/libc/posix/wordexp.c @@ -29,7 +29,7 @@ that supports the --wordexp and --protected arguments to be present on the system. It does not support the WRDE_UNDEF flag. */ int -wordexp(const char *words, wordexp_t *pwordexp, int flags) +wordexp(const char *__restrict words, wordexp_t *__restrict pwordexp, int flags) { FILE *f = NULL; FILE *f_err = NULL; |