Skip to content

Commit 17727db

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.
1 parent 35d5592 commit 17727db

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
@@ -976,7 +976,6 @@ pub const AT_RGID: c_int = 2003;
976976
pub const AT_SUN_LDELF: c_int = 2004;
977977
pub const AT_SUN_LDSHDR: c_int = 2005;
978978
pub const AT_SUN_LDNAME: c_int = 2006;
979-
pub const AT_SUN_LDPGSIZE: c_int = 2007;
980979
pub const AT_SUN_PLATFORM: c_int = 2008;
981980
pub const AT_SUN_HWCAP: c_int = 2009;
982981
pub const AT_SUN_IFLUSH: c_int = 2010;
@@ -1218,7 +1217,6 @@ pub const NET_RT_OOOIFLIST: c_int = 3;
12181217
pub const NET_RT_OOIFLIST: c_int = 4;
12191218
pub const NET_RT_OIFLIST: c_int = 5;
12201219
pub const NET_RT_IFLIST: c_int = 6;
1221-
pub const NET_RT_MAXID: c_int = 7;
12221220

12231221
pub const PF_OROUTE: c_int = AF_OROUTE;
12241222
pub const PF_ARP: c_int = AF_ARP;
@@ -1700,7 +1698,6 @@ pub const CTL_PROC: c_int = 10;
17001698
pub const CTL_VENDOR: c_int = 11;
17011699
pub const CTL_EMUL: c_int = 12;
17021700
pub const CTL_SECURITY: c_int = 13;
1703-
pub const CTL_MAXID: c_int = 14;
17041701
pub const KERN_OSTYPE: c_int = 1;
17051702
pub const KERN_OSRELEASE: c_int = 2;
17061703
pub const KERN_OSREV: c_int = 3;
@@ -1785,7 +1782,6 @@ pub const KERN_ARND: c_int = 81;
17851782
pub const KERN_SYSVIPC: c_int = 82;
17861783
pub const KERN_BOOTTIME: c_int = 83;
17871784
pub const KERN_EVCNT: c_int = 84;
1788-
pub const KERN_MAXID: c_int = 85;
17891785
pub const KERN_PROC_ALL: c_int = 0;
17901786
pub const KERN_PROC_PID: c_int = 1;
17911787
pub const KERN_PROC_PGRP: c_int = 2;

0 commit comments

Comments
 (0)