| author | |
| committer | |
| log | dad7eea8d9c8dee3f74ee1cd5533aa18f17b08d8 |
| tree | b0183e6780d7efc4e8dc161489e9f5d41bbeee7a |
| parent | 643c9868380a9fd34f2154beecfe36cbd9e2f688 |
This reverts commit 64f0059cd33b571d6cf91df45f4cb2e0af9c0742.2 files changed, 0 insertions(+), 26 deletions(-)
lib/std/c/netbsd.zig-16| ... | ... | @@ -579,12 +579,6 @@ pub const PROT = struct { |
| 579 | 579 | pub const READ = 1; |
| 580 | 580 | pub const WRITE = 2; |
| 581 | 581 | pub const EXEC = 4; |
| 582 | pub fn MPROTECT(flag: u32) u32 { | |
| 583 | return flag << 3; | |
| 584 | } | |
| 585 | pub fn MPROTECT_EXTRACT(flag: u32) u32 { | |
| 586 | return (flag >> 3) & 0x7; | |
| 587 | } | |
| 588 | 582 | }; |
| 589 | 583 | |
| 590 | 584 | pub const CLOCK = struct { |
| ... | ... | @@ -627,16 +621,6 @@ pub const MAP = struct { |
| 627 | 621 | pub const ALIGNMENT_64PB = MAP.ALIGNED(56); |
| 628 | 622 | }; |
| 629 | 623 | |
| 630 | pub const MADV = struct { | |
| 631 | pub const NORMAL = 0; | |
| 632 | pub const RANDOM = 1; | |
| 633 | pub const SEQUENTIAL = 2; | |
| 634 | pub const WILLNEED = 3; | |
| 635 | pub const DONTNEED = 4; | |
| 636 | pub const SPACEAVAIL = 5; | |
| 637 | pub const FREE = 6; | |
| 638 | }; | |
| 639 | ||
| 640 | 624 | pub const MSF = struct { |
| 641 | 625 | pub const ASYNC = 1; |
| 642 | 626 | pub const INVALIDATE = 2; |
lib/std/c/openbsd.zig-10| ... | ... | @@ -466,16 +466,6 @@ pub const MAP = struct { |
| 466 | 466 | pub const CONCEAL = 0x8000; |
| 467 | 467 | }; |
| 468 | 468 | |
| 469 | pub const MADV = struct { | |
| 470 | pub const NORMAL = 0; | |
| 471 | pub const RANDOM = 1; | |
| 472 | pub const SEQUENTIAL = 2; | |
| 473 | pub const WILLNEED = 3; | |
| 474 | pub const DONTNEED = 4; | |
| 475 | pub const SPACEAVAIL = 5; | |
| 476 | pub const FREE = 6; | |
| 477 | }; | |
| 478 | ||
| 479 | 469 | pub const MSF = struct { |
| 480 | 470 | pub const ASYNC = 1; |
| 481 | 471 | pub const INVALIDATE = 2; |