authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-04-20 16:41:52 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-04-20 16:41:52 -07:00
logd980654a971e2e3b975043a6fd3d3809bebcc08a
tree100d2a53e936f410926831fa0f6a3f65a27b9456
parentacb8e0fa394de15c5a1b1ef20c8498c0b7b3111c

move zig-errno import to the top


1 files changed, 1 insertions(+), 1 deletions(-)

mod.zig+1-1
......@@ -1,4 +1,5 @@
11const std = @import("std");
2const errno = @import("errno");
23const sys = std.os.linux;
34const syscall0 = sys.syscall0;
45const syscall1 = sys.syscall1;
......@@ -7,7 +8,6 @@ const syscall3 = sys.syscall3;
78const syscall4 = sys.syscall4;
89const syscall5 = sys.syscall5;
910const syscall6 = sys.syscall6;
10const errno = @import("errno");
1111
1212fn _errno(rc: usize) enum(c_ushort) { ok, _ } {
1313 const signed: isize = @bitCast(rc);