diff --git a/lib/std/posix.zig b/lib/std/posix.zig index 6b5686b20a3531d04dfc975d5625022932b89782..660551fee40ff1b1d7c850412aabefa636fe192b 100644 --- a/lib/std/posix.zig +++ b/lib/std/posix.zig @@ -913,14 +913,6 @@ pub fn sysctl( } } -pub fn gettimeofday(tv: ?*timeval, tz: ?*timezone) void { - switch (errno(system.gettimeofday(tv, tz))) { - .SUCCESS => return, - .INVAL => unreachable, - else => unreachable, - } -} - pub const FcntlError = error{ PermissionDenied, FileBusy,