sys_ptrace and ifaddrs header cleanup

This commit is contained in:
auronandace
2026-01-28 18:24:32 +00:00
parent eb0fc58155
commit a9d64bd3d4
2 changed files with 11 additions and 4 deletions
+7 -2
View File
@@ -1,10 +1,15 @@
//! `ifaddrs.h` implementation
//! `ifaddrs.h` implementation.
//!
//! Non-POSIX, see <https://www.man7.org/linux/man-pages/man3/getifaddrs.3.html>.
use core::ptr;
use crate::{
header::{errno, stdlib, sys_socket::sockaddr},
platform::{self, types::*},
platform::{
self,
types::{c_char, c_int, c_uint, c_void},
},
};
#[repr(C)]
+4 -2
View File
@@ -1,8 +1,10 @@
//! ptrace compatibility layer for Redox OS
//! `ptrace.h` implementation.
//!
//! Non-POSIX, see <https://www.man7.org/linux/man-pages/man2/ptrace.2.html>.
use crate::{
error::ResultExt,
platform::{PalPtrace, Sys, types::*},
platform::{PalPtrace, Sys, types::c_int},
};
use core::ffi::VaList;