diff options
Diffstat (limited to 'winsup/cygwin/localtime.cc')
-rw-r--r-- | winsup/cygwin/localtime.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/localtime.cc b/winsup/cygwin/localtime.cc index 19eef6759..a5307101e 100644 --- a/winsup/cygwin/localtime.cc +++ b/winsup/cygwin/localtime.cc @@ -1749,7 +1749,7 @@ localsub(const timezone_t sp, const time_t * const timep, const long offset, ** Re-entrant version of localtime. */ extern "C" struct tm * -localtime_r(const time_t *timep, struct tm *tmp) +localtime_r(const time_t *__restrict timep, struct tm *__restrict tmp) { tzset_guard.init ("tzset_guard")->acquire (); tzset_unlocked(); @@ -1820,7 +1820,7 @@ gmtime(const time_t *const timep) */ extern "C" struct tm * -gmtime_r(const time_t * const timep, struct tm *tmp) +gmtime_r(const time_t *__restrict const timep, struct tm *__restrict tmp) { tmp = gmtsub(NULL, timep, 0L, tmp); |