diff --git a/src/platform/macos/c_libproc.rs b/src/platform/macos/c_libproc.rs index f710dcc..3b9cf7c 100644 --- a/src/platform/macos/c_libproc.rs +++ b/src/platform/macos/c_libproc.rs @@ -30,5 +30,5 @@ extern "C" { } extern "C" { - pub fn proc_name(pid: c_int, buffer: *mut c_void, buffersize: u32) -> c_int; + pub(super) fn proc_name(pid: c_int, buffer: *mut c_void, buffersize: u32) -> c_int; } diff --git a/src/platform/windows/c_iphlpapi.rs b/src/platform/windows/c_iphlpapi.rs index bc7fce0..d7ff4ae 100644 --- a/src/platform/windows/c_iphlpapi.rs +++ b/src/platform/windows/c_iphlpapi.rs @@ -3,7 +3,7 @@ use std::ffi::{c_int, c_ulong, c_void}; #[allow(non_snake_case)] #[link(name = "iphlpapi")] extern "system" { - pub fn GetExtendedTcpTable( + pub(super) fn GetExtendedTcpTable( pTcpTable: *mut c_void, pdwSize: *mut c_ulong, bOrder: c_int,