Revert "std.os: fix uname usage."

This reverts commit 138f1253de.
This commit is contained in:
Andrew Kelley committed 2023-07-31 10:52:12 -07:00
1 parent 9f20d01cfb
commit ba3b352891
2 files changed
-24

No files matched your search

-12
View File
@@ -4159,15 +4159,3 @@ pub const PTHREAD_STACK_MIN = switch (builtin.cpu.arch) {
.arm, .aarch64 => 16 * 1024,
else => 8 * 1024,
};
pub const _SYS_NAMELEN = 256;
pub const utsname = extern struct {
sysname: [255:0]u8,
nodename: [255:0]u8,
release: [255:0]u8,
version: [255:0]u8,
machine: [255:0]u8,
};
pub extern "c" fn uname(u: *utsname) c_int;
-12
View File
@@ -2824,15 +2824,3 @@ pub const PTHREAD_STACK_MIN = switch (builtin.cpu.arch) {
.x86, .powerpc => 4 * 512,
else => 4 * 1024,
};
pub const SYS_NMLN = 256;
pub const utsname = extern struct {
sysname: [255:0]u8,
nodename: [255:0]u8,
release: [255:0]u8,
version: [255:0]u8,
machine: [255:0]u8,
};
pub extern "c" fn uname(u: *utsname) c_int;