@@ -141,19 +141,6 @@ s! {
141141 pub keepcost: :: size_t,
142142 }
143143
144- pub struct nlmsghdr {
145- pub nlmsg_len: u32 ,
146- pub nlmsg_type: u16 ,
147- pub nlmsg_flags: u16 ,
148- pub nlmsg_seq: u32 ,
149- pub nlmsg_pid: u32 ,
150- }
151-
152- pub struct nlmsgerr {
153- pub error: :: c_int,
154- pub msg: nlmsghdr,
155- }
156-
157144 pub struct nl_pktinfo {
158145 pub group: u32 ,
159146 }
@@ -174,11 +161,6 @@ s! {
174161 pub nm_gid: u32 ,
175162 }
176163
177- pub struct nlattr {
178- pub nla_len: u16 ,
179- pub nla_type: u16 ,
180- }
181-
182164 pub struct rtentry {
183165 pub rt_pad1: :: c_ulong,
184166 pub rt_dst: :: sockaddr,
@@ -1210,13 +1192,6 @@ extern "C" {
12101192 statxbuf : * mut statx ,
12111193 ) -> :: c_int ;
12121194 pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
1213-
1214- pub fn memmem (
1215- haystack : * const :: c_void ,
1216- haystacklen : :: size_t ,
1217- needle : * const :: c_void ,
1218- needlelen : :: size_t ,
1219- ) -> * mut :: c_void ;
12201195 pub fn getauxval ( type_ : :: c_ulong ) -> :: c_ulong ;
12211196
12221197 pub fn adjtimex ( buf : * mut timex ) -> :: c_int ;
@@ -1305,16 +1280,6 @@ extern "C" {
13051280 ) -> :: c_int ;
13061281 pub fn getpriority ( which : :: __priority_which_t , who : :: id_t ) -> :: c_int ;
13071282 pub fn setpriority ( which : :: __priority_which_t , who : :: id_t , prio : :: c_int ) -> :: c_int ;
1308- pub fn pthread_getaffinity_np (
1309- thread : :: pthread_t ,
1310- cpusetsize : :: size_t ,
1311- cpuset : * mut :: cpu_set_t ,
1312- ) -> :: c_int ;
1313- pub fn pthread_setaffinity_np (
1314- thread : :: pthread_t ,
1315- cpusetsize : :: size_t ,
1316- cpuset : * const :: cpu_set_t ,
1317- ) -> :: c_int ;
13181283 pub fn pthread_rwlockattr_getkind_np (
13191284 attr : * const :: pthread_rwlockattr_t ,
13201285 val : * mut :: c_int ,
@@ -1323,7 +1288,6 @@ extern "C" {
13231288 attr : * mut :: pthread_rwlockattr_t ,
13241289 val : :: c_int ,
13251290 ) -> :: c_int ;
1326- pub fn sched_getcpu ( ) -> :: c_int ;
13271291 pub fn mallinfo ( ) -> :: mallinfo ;
13281292 pub fn mallinfo2 ( ) -> :: mallinfo2 ;
13291293 pub fn malloc_info ( options : :: c_int , stream : * mut :: FILE ) -> :: c_int ;
0 commit comments