From f68a40cdf94c87a065d7f9393e84adc6f93a34bf Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 23 Nov 2013 22:39:34 +0000 Subject: 2013-11-23 Bryan Dunsmore * libc/include/wordexp.h (wordexp): Add restrict keyword. * libc/posix/wordexp.c (wordexp): Ditto. --- newlib/libc/include/wordexp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/include/wordexp.h') 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 -- cgit v1.2.3