Skip to content

Commit cffe959

Browse files
committed
style: remove _MAX* place holder constants
1 parent 9811881 commit cffe959

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

src/unix/bsd/freebsdlike/dragonfly/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,6 @@ pub const RTM_VERSION: ::c_int = 7;
15331533
pub const RTAX_MPLS1: ::c_int = 8;
15341534
pub const RTAX_MPLS2: ::c_int = 9;
15351535
pub const RTAX_MPLS3: ::c_int = 10;
1536-
pub const RTAX_MAX: ::c_int = 11;
15371536

15381537
const_fn! {
15391538
{const} fn _CMSG_ALIGN(n: usize) -> usize {

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4559,10 +4559,6 @@ pub const CPU_WHICH_JAIL: ::c_int = 5;
45594559
pub const RTF_LLDATA: ::c_int = 0x400;
45604560
pub const RTF_FIXEDMTU: ::c_int = 0x80000;
45614561

4562-
pub const RTM_VERSION: ::c_int = 5;
4563-
4564-
pub const RTAX_MAX: ::c_int = 8;
4565-
45664562
// sys/signal.h
45674563
pub const SIGTHR: ::c_int = 32;
45684564
pub const SIGLWP: ::c_int = SIGTHR;

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2439,7 +2439,6 @@ pub const RTM_CHGADDR: ::c_int = 0x18;
24392439
pub const RTA_TAG: ::c_int = 0x100;
24402440

24412441
pub const RTAX_TAG: ::c_int = 8;
2442-
pub const RTAX_MAX: ::c_int = 9;
24432442

24442443
cfg_if! {
24452444

src/unix/bsd/netbsdlike/openbsd/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1962,7 +1962,6 @@ pub const RTAX_BFD: ::c_int = 11;
19621962
pub const RTAX_DNS: ::c_int = 12;
19631963
pub const RTAX_STATIC: ::c_int = 13;
19641964
pub const RTAX_SEARCH: ::c_int = 14;
1965-
pub const RTAX_MAX: ::c_int = 15;
19661965

19671966
const_fn! {
19681967
{const} fn _ALIGN(p: usize) -> usize {

0 commit comments

Comments
 (0)