zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 508a8739e25e5f4ddf75df336b7315949aa3201b (tree)
parent 474d17c13ae9f9f51cb2e7f18d3d61353f1ccd83
Author: mlugg <mlugg@mlugg.co.uk>
Date:   Thu,  7 Mar 2024 19:08:35 +0000

std.c.openbsd: remove nop `usingnamespace`

I have no idea why this was even here...

Eliminates one more usage of `usingnamespace` from the standard library.
5 remain.

Diffstat:
Mlib/std/c/openbsd.zig | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/lib/std/c/openbsd.zig b/lib/std/c/openbsd.zig @@ -894,11 +894,6 @@ comptime { std.debug.assert(@sizeOf(siginfo_t) == 136); } -pub usingnamespace switch (builtin.cpu.arch) { - .x86_64 => struct {}, - else => struct {}, -}; - pub const ucontext_t = switch (builtin.cpu.arch) { .x86_64 => extern struct { sc_rdi: c_long,