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 @@...@@ -1,4 +1,5 @@
1const std = @import("std");1const std = @import("std");
2const errno = @import("errno");
2const sys = std.os.linux;3const sys = std.os.linux;
3const syscall0 = sys.syscall0;4const syscall0 = sys.syscall0;
4const syscall1 = sys.syscall1;5const syscall1 = sys.syscall1;
...@@ -7,7 +8,6 @@ const syscall3 = sys.syscall3;...@@ -7,7 +8,6 @@ const syscall3 = sys.syscall3;
7const syscall4 = sys.syscall4;8const syscall4 = sys.syscall4;
8const syscall5 = sys.syscall5;9const syscall5 = sys.syscall5;
9const syscall6 = sys.syscall6;10const syscall6 = sys.syscall6;
10const errno = @import("errno");
1111
12fn _errno(rc: usize) enum(c_ushort) { ok, _ } {12fn _errno(rc: usize) enum(c_ushort) { ok, _ } {
13 const signed: isize = @bitCast(rc);13 const signed: isize = @bitCast(rc);