2013-11-23 Bryan Dunsmore <dunsmoreb@gmail.com>
* libc/include/wordexp.h (wordexp): Add restrict keyword. * libc/posix/wordexp.c (wordexp): Ditto.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2013-11-23 Bryan Dunsmore <dunsmoreb@gmail.com> | ||||
|  | ||||
| 	* libc/include/wordexp.h (wordexp): Add restrict keyword. | ||||
| 	* libc/posix/wordexp.c (wordexp): Ditto. | ||||
|  | ||||
| 2013-11-22  Bryan Dunsmore <dunsmoreb@gmail.com> | ||||
|  | ||||
| 	* libc/include/sys/time.h (gettimeofday): Add restrict keyword. | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user