mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 12:05:47 +08:00
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:
parent
3a4ce7315f
commit
f68a40cdf9
@ -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>
|
2013-11-22 Bryan Dunsmore <dunsmoreb@gmail.com>
|
||||||
|
|
||||||
* libc/include/sys/time.h (gettimeofday): Add restrict keyword.
|
* libc/include/sys/time.h (gettimeofday): Add restrict keyword.
|
||||||
|
@ -43,7 +43,7 @@ enum {
|
|||||||
/* Note: This implementation of wordexp requires a version of bash
|
/* Note: This implementation of wordexp requires a version of bash
|
||||||
that supports the --wordexp and --protected arguments to be present
|
that supports the --wordexp and --protected arguments to be present
|
||||||
on the system. It does not support the WRDE_UNDEF flag. */
|
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 *);
|
void wordfree(wordexp_t *);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
that supports the --wordexp and --protected arguments to be present
|
that supports the --wordexp and --protected arguments to be present
|
||||||
on the system. It does not support the WRDE_UNDEF flag. */
|
on the system. It does not support the WRDE_UNDEF flag. */
|
||||||
int
|
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 = NULL;
|
||||||
FILE *f_err = NULL;
|
FILE *f_err = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user