Skip to content

Commit 070cbed

Browse files
committed
fix members visibility
1 parent e34d856 commit 070cbed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/platform/macos/c_libproc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ extern "C" {
3030
}
3131

3232
extern "C" {
33-
pub fn proc_name(pid: c_int, buffer: *mut c_void, buffersize: u32) -> c_int;
33+
pub(super) fn proc_name(pid: c_int, buffer: *mut c_void, buffersize: u32) -> c_int;
3434
}

src/platform/windows/c_iphlpapi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::ffi::{c_int, c_ulong, c_void};
33
#[allow(non_snake_case)]
44
#[link(name = "iphlpapi")]
55
extern "system" {
6-
pub fn GetExtendedTcpTable(
6+
pub(super) fn GetExtendedTcpTable(
77
pTcpTable: *mut c_void,
88
pdwSize: *mut c_ulong,
99
bOrder: c_int,

0 commit comments

Comments
 (0)