diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 615596280..943d6b032 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2013-11-28 Alexey Pavlov + + * include/glob.h: Fix invalid use of 'restrict' error. + 2013-11-27 Corinna Vinschen * syscalls.cc (try_to_bin): Enhance debug output in case reopen fails. diff --git a/winsup/cygwin/include/glob.h b/winsup/cygwin/include/glob.h index 4ad200fd5..5f1b42050 100644 --- a/winsup/cygwin/include/glob.h +++ b/winsup/cygwin/include/glob.h @@ -103,7 +103,7 @@ __BEGIN_DECLS # define DLLEXPORT __declspec(dllimport) #endif -int DLLEXPORT glob (const char __restrict *, int, int (*)(const char *, int), glob_t *__restrict); +int DLLEXPORT glob (const char *__restrict , int, int (*)(const char *, int), glob_t *__restrict); void DLLEXPORT globfree (glob_t *); int DLLEXPORT glob_pattern_p (const char *, int); __END_DECLS