Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-11-25 15:38:08 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-11-25 15:38:08 +0400
commit3073f26d6ab5d0ce902d5bfe75600e6577d903c9 (patch)
treee194898fb1b64aa0997016e8359861ef48ede14e /winsup/cygwin/libc
parentbd1af1cab5cc78a5d97bdd9ba2e9e934fc80688e (diff)
Throughout, keep function definitions and declarations in sync with
newlib in terms of C99 "restrict" keyword.
Diffstat (limited to 'winsup/cygwin/libc')
-rw-r--r--winsup/cygwin/libc/strptime.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/libc/strptime.cc b/winsup/cygwin/libc/strptime.cc
index ca059842a..eeaab831c 100644
--- a/winsup/cygwin/libc/strptime.cc
+++ b/winsup/cygwin/libc/strptime.cc
@@ -763,7 +763,8 @@ literal:
}
char *
-strptime (const char *buf, const char *fmt, struct tm *tm)
+strptime (const char *__restrict buf, const char *__restrict fmt,
+ struct tm *__restrict tm)
{
era_info_t *era_info = NULL;
alt_digits_t *alt_digits = NULL;