Skip to content

Commit

Permalink
fix members visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Mar 14, 2024
1 parent e34d856 commit 070cbed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/platform/macos/c_libproc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion src/platform/windows/c_iphlpapi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 070cbed

Please sign in to comment.