__time_to_tm: initialize tm_zone and tm_gmtoff
[musl] / src / time / gettimeofday.c
index 09afb70..691f8e9 100644 (file)
@@ -2,7 +2,7 @@
 #include <sys/time.h>
 #include "syscall.h"
 
-int gettimeofday(struct timeval *tv, void *tz)
+int gettimeofday(struct timeval *restrict tv, void *restrict tz)
 {
        struct timespec ts;
        if (!tv) return 0;