Skip to content

Commit 7825c9f

Browse files
author
Kai Luo
committed
Remove duplicated declaration
1 parent 1803371 commit 7825c9f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/unix/aix/mod.rs

-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(dead_code)]
21
pub type c_char = i8;
32
pub type caddr_t = *mut ::c_char;
43
pub type clockid_t = ::c_longlong;
@@ -963,8 +962,6 @@ pub const BPF_X: ::c_int = 8;
963962
// net/if.h
964963
pub const IFNET_SLOWHZ: ::c_int = 1;
965964
pub const IFQ_MAXLEN: ::c_int = 50;
966-
pub const IF_NAMESIZE: ::c_int = 16;
967-
pub const IFNAMSIZ: ::c_int = 16;
968965
pub const IFF_UP: ::c_int = 0x1;
969966
pub const IFF_BROADCAST: ::c_int = 0x2;
970967
pub const IFF_DEBUG: ::c_int = 0x4;
@@ -987,8 +984,6 @@ pub const ARPHRD_ETHER: ::c_int = 1;
987984
pub const ARPHRD_802_5: ::c_int = 6;
988985
pub const ARPHRD_802_3: ::c_int = 6;
989986
pub const ARPHRD_FDDI: ::c_int = 1;
990-
pub const ARPOP_REQUEST: ::c_int = 1;
991-
pub const ARPOP_REPLY: ::c_int = 2;
992987

993988
// net/route.h
994989
pub const RTM_ADD: ::c_int = 0x1;

0 commit comments

Comments
 (0)