Skip to content

Commit

Permalink
Remove socklen_t from platforms where it's no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Jul 30, 2022
1 parent 977a85d commit 6b855d5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions std/src/sys/sgx/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,4 @@ pub mod netc {

#[derive(Copy, Clone)]
pub struct sockaddr {}

pub type socklen_t = usize;
}
2 changes: 0 additions & 2 deletions std/src/sys/unsupported/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,4 @@ pub mod netc {

#[derive(Copy, Clone)]
pub struct sockaddr {}

pub type socklen_t = usize;
}
2 changes: 0 additions & 2 deletions std/src/sys/wasi/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,4 @@ pub mod netc {

#[derive(Copy, Clone)]
pub struct sockaddr {}

pub type socklen_t = usize;
}

0 comments on commit 6b855d5

Please sign in to comment.