| author | |
| committer | |
| log | ba3b3528914f8e886b5fe2cba714de34c176a921 |
| tree | f71dfc918ac630ff21c43de32da5cc43b15da195 |
| parent | 9f20d01cfb593fb4959a1a16f786787477a3e91b |
This reverts commit 138f1253deb48434af707ec5e9124e889520be08.2 files changed, 0 insertions(+), 24 deletions(-)
lib/std/c/darwin.zig-12| ... | @@ -4159,15 +4159,3 @@ pub const PTHREAD_STACK_MIN = switch (builtin.cpu.arch) { | ... | @@ -4159,15 +4159,3 @@ pub const PTHREAD_STACK_MIN = switch (builtin.cpu.arch) { |
| 4159 | .arm, .aarch64 => 16 * 1024, | 4159 | .arm, .aarch64 => 16 * 1024, |
| 4160 | else => 8 * 1024, | 4160 | else => 8 * 1024, |
| 4161 | }; | 4161 | }; |
| 4162 | |||
| 4163 | pub const _SYS_NAMELEN = 256; | ||
| 4164 | |||
| 4165 | pub const utsname = extern struct { | ||
| 4166 | sysname: [255:0]u8, | ||
| 4167 | nodename: [255:0]u8, | ||
| 4168 | release: [255:0]u8, | ||
| 4169 | version: [255:0]u8, | ||
| 4170 | machine: [255:0]u8, | ||
| 4171 | }; | ||
| 4172 | |||
| 4173 | pub extern "c" fn uname(u: *utsname) c_int; |
lib/std/c/freebsd.zig-12| ... | @@ -2824,15 +2824,3 @@ pub const PTHREAD_STACK_MIN = switch (builtin.cpu.arch) { | ... | @@ -2824,15 +2824,3 @@ pub const PTHREAD_STACK_MIN = switch (builtin.cpu.arch) { |
| 2824 | .x86, .powerpc => 4 * 512, | 2824 | .x86, .powerpc => 4 * 512, |
| 2825 | else => 4 * 1024, | 2825 | else => 4 * 1024, |
| 2826 | }; | 2826 | }; |
| 2827 | |||
| 2828 | pub const SYS_NMLN = 256; | ||
| 2829 | |||
| 2830 | pub const utsname = extern struct { | ||
| 2831 | sysname: [255:0]u8, | ||
| 2832 | nodename: [255:0]u8, | ||
| 2833 | release: [255:0]u8, | ||
| 2834 | version: [255:0]u8, | ||
| 2835 | machine: [255:0]u8, | ||
| 2836 | }; | ||
| 2837 | |||
| 2838 | pub extern "c" fn uname(u: *utsname) c_int; |