net: fix dead code warning
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
7304cf4765
commit
3d00c5cd5e
@ -6,6 +6,7 @@
|
||||
use crate::os::xous::services::{DnsLendMut, dns_server};
|
||||
|
||||
pub struct DnsError {
|
||||
#[allow(dead_code)]
|
||||
pub code: u8,
|
||||
}
|
||||
|
||||
|
@ -60,6 +60,7 @@ pub struct in_addr {
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct sockaddr_in {
|
||||
#[allow(dead_code)]
|
||||
pub sin_family: sa_family_t,
|
||||
pub sin_port: u16,
|
||||
pub sin_addr: in_addr,
|
||||
@ -72,6 +73,7 @@ pub struct in6_addr {
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct sockaddr_in6 {
|
||||
#[allow(dead_code)]
|
||||
pub sin6_family: sa_family_t,
|
||||
pub sin6_port: u16,
|
||||
pub sin6_addr: in6_addr,
|
||||
|
Loading…
Reference in New Issue
Block a user