summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/libc/strptime.cc
diff options
context:
space:
mode:
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;