Replace C shorts by integer types
parent
11a06d4341
commit
10ea2db5cb
|
@ -1712,7 +1712,7 @@ pub const IFNAMESIZE = 16;
|
|||
pub const ifmap = extern struct {
|
||||
mem_start: c_ulong,
|
||||
mem_end: c_ulong,
|
||||
base_addr: c_ushort,
|
||||
base_addr: u16,
|
||||
irq: u8,
|
||||
dma: u8,
|
||||
port: u8,
|
||||
|
@ -1728,7 +1728,7 @@ pub const ifreq = extern struct {
|
|||
ifru_broadaddr: sockaddr,
|
||||
ifru_netmask: sockaddr,
|
||||
ifru_hwaddr: sockaddr,
|
||||
ifru_flags: c_short,
|
||||
ifru_flags: i16,
|
||||
ifru_ivalue: i32,
|
||||
ifru_mtu: i32,
|
||||
ifru_map: ifmap,
|
||||
|
|
Loading…
Reference in New Issue