diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-21 21:04:57 +0400 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-21 21:04:57 +0400 |
commit | 9977fcbc4254b8c1002d47ad269e7942d4ee6d20 (patch) | |
tree | a9b2380ad7062d5e766a769ca72bf75701b088f4 /newlib/libc/include | |
parent | a7c3258311f02587564df48055a8dabbab464fdc (diff) |
2013-11-21 Julio Gutierrez <jgutleyva@gmail.com>
* libc/include/glob.h (glob): Add restrict keyword.
* libc/posix/glob.c (glob): Ditto.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/glob.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/include/glob.h b/newlib/libc/include/glob.h index a7351350d..7a300e69d 100644 --- a/newlib/libc/include/glob.h +++ b/newlib/libc/include/glob.h @@ -82,7 +82,8 @@ typedef struct { #define GLOB_ABEND (-2) /* Unignored error. */ __BEGIN_DECLS -int glob(const char *, int, int (*)(const char *, int), glob_t *); +int glob(const char *__restrict, int, int (*)(const char *, int), + glob_t *__restrict); void globfree(glob_t *); __END_DECLS |