summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/libc/strptime.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-11-25 11:38:08 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-11-25 11:38:08 +0000
commit3073f26d6ab5d0ce902d5bfe75600e6577d903c9 (patch)
treee194898fb1b64aa0997016e8359861ef48ede14e /winsup/cygwin/libc/strptime.cc
parentbd1af1cab5cc78a5d97bdd9ba2e9e934fc80688e (diff)
downloadcygnal-3073f26d6ab5d0ce902d5bfe75600e6577d903c9.tar.gz
cygnal-3073f26d6ab5d0ce902d5bfe75600e6577d903c9.tar.bz2
cygnal-3073f26d6ab5d0ce902d5bfe75600e6577d903c9.zip
Throughout, keep function definitions and declarations in sync with
newlib in terms of C99 "restrict" keyword.
Diffstat (limited to 'winsup/cygwin/libc/strptime.cc')
-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;