Skip to content

Commit d8ceb4f

Browse files
committed
NetBSD: Remove *_MAXID constants and AT_SUN_LDPGSIZE
These assorted constants may have existed at some point but I can't find any reference to them in the source repo. Remove them now. (backport <#4782>) (cherry picked from commit 17727db)
1 parent 19aa077 commit d8ceb4f

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

libc-test/semver/netbsd.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ CTL_HW
179179
CTL_IPPROTO_IPSEC
180180
CTL_KERN
181181
CTL_MACHDEP
182-
CTL_MAXID
183182
CTL_MAXNAME
184183
CTL_MMAP
185184
CTL_NET
@@ -532,7 +531,6 @@ KERN_LOGSIGEXIT
532531
KERN_LWP
533532
KERN_MAPPED_FILES
534533
KERN_MAXFILES
535-
KERN_MAXID
536534
KERN_MAXPARTITIONS
537535
KERN_MAXPHYS
538536
KERN_MAXPROC
@@ -726,7 +724,6 @@ NANOSECOND
726724
NET_RT_DUMP
727725
NET_RT_FLAGS
728726
NET_RT_IFLIST
729-
NET_RT_MAXID
730727
NET_RT_OIFLIST
731728
NET_RT_OOIFLIST
732729
NET_RT_OOOIFLIST

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,6 @@ pub const AT_RGID: c_int = 2003;
977977
pub const AT_SUN_LDELF: c_int = 2004;
978978
pub const AT_SUN_LDSHDR: c_int = 2005;
979979
pub const AT_SUN_LDNAME: c_int = 2006;
980-
pub const AT_SUN_LDPGSIZE: c_int = 2007;
981980
pub const AT_SUN_PLATFORM: c_int = 2008;
982981
pub const AT_SUN_HWCAP: c_int = 2009;
983982
pub const AT_SUN_IFLUSH: c_int = 2010;
@@ -1219,7 +1218,6 @@ pub const NET_RT_OOOIFLIST: c_int = 3;
12191218
pub const NET_RT_OOIFLIST: c_int = 4;
12201219
pub const NET_RT_OIFLIST: c_int = 5;
12211220
pub const NET_RT_IFLIST: c_int = 6;
1222-
pub const NET_RT_MAXID: c_int = 7;
12231221

12241222
pub const PF_OROUTE: c_int = AF_OROUTE;
12251223
pub const PF_ARP: c_int = AF_ARP;
@@ -1701,7 +1699,6 @@ pub const CTL_PROC: c_int = 10;
17011699
pub const CTL_VENDOR: c_int = 11;
17021700
pub const CTL_EMUL: c_int = 12;
17031701
pub const CTL_SECURITY: c_int = 13;
1704-
pub const CTL_MAXID: c_int = 14;
17051702
pub const KERN_OSTYPE: c_int = 1;
17061703
pub const KERN_OSRELEASE: c_int = 2;
17071704
pub const KERN_OSREV: c_int = 3;
@@ -1786,7 +1783,6 @@ pub const KERN_ARND: c_int = 81;
17861783
pub const KERN_SYSVIPC: c_int = 82;
17871784
pub const KERN_BOOTTIME: c_int = 83;
17881785
pub const KERN_EVCNT: c_int = 84;
1789-
pub const KERN_MAXID: c_int = 85;
17901786
pub const KERN_PROC_ALL: c_int = 0;
17911787
pub const KERN_PROC_PID: c_int = 1;
17921788
pub const KERN_PROC_PGRP: c_int = 2;

0 commit comments

Comments
 (0)