diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-11-28 10:00:01 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-11-28 10:00:01 +0000 |
commit | f8b02da1530e59490f0b6175288ae9eb2b395dd3 (patch) | |
tree | 96628c34032e0c75483144338c6c619d06b179e8 | |
parent | 2d50094276898a5150f4324401b938f118bc749b (diff) | |
download | cygnal-f8b02da1530e59490f0b6175288ae9eb2b395dd3.tar.gz cygnal-f8b02da1530e59490f0b6175288ae9eb2b395dd3.tar.bz2 cygnal-f8b02da1530e59490f0b6175288ae9eb2b395dd3.zip |
* include/glob.h: Fix invalid use of 'restrict' error.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/glob.h | 2 |
2 files changed, 5 insertions, 1 deletions
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 <alexpux@gmail.com> + + * include/glob.h: Fix invalid use of 'restrict' error. + 2013-11-27 Corinna Vinschen <corinna@vinschen.de> * 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 |