fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git] / src / time / localtime_r.c
index 2bf10378830f18d1a222b8104e1c134e712872a2..389a5917f2bbe1e9c7ddba579e853e76e4309271 100644 (file)
@@ -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);