Skip to content

Commit 35b7004

Browse files
Kai Luotgross35
authored andcommitted
aix: Remove duplicated declaration
(backport <#3643>) (cherry picked from commit 7825c9f) [ slightly modify commit message - Trevor ]
1 parent a0aed5a commit 35b7004

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/unix/aix/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -962,8 +962,6 @@ pub const BPF_X: ::c_int = 8;
962962
// net/if.h
963963
pub const IFNET_SLOWHZ: ::c_int = 1;
964964
pub const IFQ_MAXLEN: ::c_int = 50;
965-
pub const IF_NAMESIZE: ::c_int = 16;
966-
pub const IFNAMSIZ: ::c_int = 16;
967965
pub const IFF_UP: ::c_int = 0x1;
968966
pub const IFF_BROADCAST: ::c_int = 0x2;
969967
pub const IFF_DEBUG: ::c_int = 0x4;
@@ -986,8 +984,6 @@ pub const ARPHRD_ETHER: ::c_int = 1;
986984
pub const ARPHRD_802_5: ::c_int = 6;
987985
pub const ARPHRD_802_3: ::c_int = 6;
988986
pub const ARPHRD_FDDI: ::c_int = 1;
989-
pub const ARPOP_REQUEST: ::c_int = 1;
990-
pub const ARPOP_REPLY: ::c_int = 2;
991987

992988
// net/route.h
993989
pub const RTM_ADD: ::c_int = 0x1;

0 commit comments

Comments
 (0)