Skip to content

Commit 73bb371

Browse files
committed
Remove socklen_t from platforms where it's no longer used
1 parent b20b69a commit 73bb371

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

library/std/src/sys/sgx/net.rs

-2
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,4 @@ pub mod netc {
538538

539539
#[derive(Copy, Clone)]
540540
pub struct sockaddr {}
541-
542-
pub type socklen_t = usize;
543541
}

library/std/src/sys/unsupported/net.rs

-2
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,4 @@ pub mod netc {
363363

364364
#[derive(Copy, Clone)]
365365
pub struct sockaddr {}
366-
367-
pub type socklen_t = usize;
368366
}

library/std/src/sys/wasi/net.rs

-2
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,4 @@ pub mod netc {
524524

525525
#[derive(Copy, Clone)]
526526
pub struct sockaddr {}
527-
528-
pub type socklen_t = usize;
529527
}

0 commit comments

Comments
 (0)