From 34c3ec3e6ba1242fb988948c8d10e1eea1475756 Mon Sep 17 00:00:00 2001 From: auronandace Date: Fri, 2 Jan 2026 21:23:58 +0000 Subject: [PATCH] sys_auxv sys_file and sys_random header cleanup --- src/header/sys_auxv/mod.rs | 2 +- src/header/sys_file/mod.rs | 2 +- src/header/sys_random/mod.rs | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/header/sys_auxv/mod.rs b/src/header/sys_auxv/mod.rs index f42a3ec8ad..dbd26a8c75 100644 --- a/src/header/sys_auxv/mod.rs +++ b/src/header/sys_auxv/mod.rs @@ -2,7 +2,7 @@ //! //! Non-POSIX, see . -use crate::platform::types::*; +use crate::platform::types::c_ulong; pub use crate::platform::auxv_defs::*; diff --git a/src/header/sys_file/mod.rs b/src/header/sys_file/mod.rs index 6dd5e50631..810540213d 100644 --- a/src/header/sys_file/mod.rs +++ b/src/header/sys_file/mod.rs @@ -4,7 +4,7 @@ use crate::{ error::ResultExt, - platform::{Pal, Sys, types::*}, + platform::{Pal, Sys, types::c_int}, }; pub const LOCK_SH: c_int = 1; diff --git a/src/header/sys_random/mod.rs b/src/header/sys_random/mod.rs index acf589fc29..332f3aa867 100644 --- a/src/header/sys_random/mod.rs +++ b/src/header/sys_random/mod.rs @@ -6,7 +6,10 @@ use core::slice; use crate::{ error::ResultExt, - platform::{Pal, Sys, types::*}, + platform::{ + Pal, Sys, + types::{c_uint, c_void, size_t, ssize_t}, + }, }; /// See .