We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17de706 commit 29a3725Copy full SHA for 29a3725
src/unix/bsd/netbsdlike/openbsd/mod.rs
@@ -36,6 +36,11 @@ pub type Elf64_Sxword = i64;
36
pub type Elf64_Word = u32;
37
pub type Elf64_Xword = u64;
38
39
+// search.h
40
+
41
+pub type ENTRY = entry;
42
+pub type ACTION = ::c_uint;
43
44
// sys/exec_elf.h - Legal values for p_type (segment type).
45
pub const PT_NULL: u32 = 0;
46
pub const PT_LOAD: u32 = 1;
@@ -60,11 +65,6 @@ pub const PF_R: u32 = 0x4;
60
65
pub const PF_MASKOS: u32 = 0x0ff00000;
61
66
pub const PF_MASKPROC: u32 = 0xf0000000;
62
67
63
-// search.h
64
-
-pub type ENTRY = entry;
-pub type ACTION = ::c_uint;
68
cfg_if! {
69
if #[cfg(target_pointer_width = "64")] {
70
type Elf_Addr = Elf64_Addr;
0 commit comments