Skip to content

Commit 90cb774

Browse files
committed
Auto merge of #3428 - sthibaul:main, r=JohnTitor
hurd: Complete C API interface This aligns it on what can be found for linux.
2 parents 79d195b + c72c68c commit 90cb774

File tree

3 files changed

+1647
-259
lines changed

3 files changed

+1647
-259
lines changed

src/unix/hurd/b32.rs

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ pub type __ulong32_type = ::c_ulong;
2525
pub type __s64_type = ::__int64_t;
2626
pub type __u64_type = ::__uint64_t;
2727

28+
pub type __ipc_pid_t = ::c_ushort;
29+
2830
pub type Elf32_Half = u16;
2931
pub type Elf32_Word = u32;
3032
pub type Elf32_Off = u32;

src/unix/hurd/b64.rs

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ pub type __ulong32_type = ::c_uint;
2525
pub type __s64_type = ::c_long;
2626
pub type __u64_type = ::c_ulong;
2727

28+
pub type __ipc_pid_t = ::c_int;
29+
2830
pub type Elf64_Half = u16;
2931
pub type Elf64_Word = u32;
3032
pub type Elf64_Off = u64;

0 commit comments

Comments
 (0)