4949 index % 8
5050 } ;
5151 let mask = 1 << bit_index;
52- if val { byte | mask } else { byte & !mask }
52+ if val {
53+ byte | mask
54+ } else {
55+ byte & !mask
56+ }
5357 }
5458 #[ inline]
5559 pub fn set_bit ( & mut self , index : usize , val : bool ) {
@@ -7422,7 +7426,7 @@ unsafe extern "C" {
74227426}
74237427unsafe extern "C" {
74247428 pub fn btf__add_ptr ( btf : * mut btf , ref_type_id : :: std:: os:: raw:: c_int )
7425- -> :: std:: os:: raw:: c_int ;
7429+ -> :: std:: os:: raw:: c_int ;
74267430}
74277431unsafe extern "C" {
74287432 pub fn btf__add_array (
@@ -8426,7 +8430,7 @@ unsafe extern "C" {
84268430}
84278431unsafe extern "C" {
84288432 pub fn bpf_map__reuse_fd ( map : * mut bpf_map , fd : :: std:: os:: raw:: c_int )
8429- -> :: std:: os:: raw:: c_int ;
8433+ -> :: std:: os:: raw:: c_int ;
84308434}
84318435unsafe extern "C" {
84328436 pub fn bpf_map__name ( map : * const bpf_map ) -> * const :: std:: os:: raw:: c_char ;
@@ -8442,7 +8446,7 @@ unsafe extern "C" {
84428446}
84438447unsafe extern "C" {
84448448 pub fn bpf_map__set_max_entries ( map : * mut bpf_map , max_entries : __u32 )
8445- -> :: std:: os:: raw:: c_int ;
8449+ -> :: std:: os:: raw:: c_int ;
84468450}
84478451unsafe extern "C" {
84488452 pub fn bpf_map__map_flags ( map : * const bpf_map ) -> __u32 ;
@@ -8681,7 +8685,7 @@ unsafe extern "C" {
86818685}
86828686unsafe extern "C" {
86838687 pub fn bpf_tc_attach ( hook : * const bpf_tc_hook , opts : * mut bpf_tc_opts )
8684- -> :: std:: os:: raw:: c_int ;
8688+ -> :: std:: os:: raw:: c_int ;
86858689}
86868690unsafe extern "C" {
86878691 pub fn bpf_tc_detach (
@@ -8890,7 +8894,7 @@ unsafe extern "C" {
88908894}
88918895unsafe extern "C" {
88928896 pub fn perf_buffer__buffer_fd ( pb : * const perf_buffer , buf_idx : size_t )
8893- -> :: std:: os:: raw:: c_int ;
8897+ -> :: std:: os:: raw:: c_int ;
88948898}
88958899unsafe extern "C" {
88968900 pub fn perf_buffer__buffer (
0 commit comments