summaryrefslogtreecommitdiff
path: root/src/time/localtime_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/localtime_r.c')
-rw-r--r--src/time/localtime_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/localtime_r.c b/src/time/localtime_r.c
index 2bf10378..389a5917 100644
--- a/src/time/localtime_r.c
+++ b/src/time/localtime_r.c
@@ -2,7 +2,7 @@
#include "__time.h"
-struct tm *localtime_r(const time_t *t, struct tm *result)
+struct tm *localtime_r(const time_t *restrict t, struct tm *restrict result)
{
__tzset();
__time_to_tm(*t - __timezone, result);