Removed obsolete tz param from gettimeofday

This commit is contained in:
Tohei Ichikawa
2025-06-08 16:07:11 -04:00
parent 876f1c02b7
commit 7662e7d843
2 changed files with 2 additions and 10 deletions
+2 -2
View File
@@ -1412,8 +1412,8 @@ umask :: proc "contextless" (mask: Mode) -> Mode {
Get current time.
Available since Linux 1.0.
*/
gettimeofday :: proc "contextless" (tv: ^Time_Val, tz: ^Time_Zone) -> (Errno) {
ret := syscall(SYS_gettimeofday, tv, tz)
gettimeofday :: proc "contextless" (tv: ^Time_Val) -> (Errno) {
ret := syscall(SYS_gettimeofday, tv, nil)
return Errno(-ret)
}