File tree Expand file tree Collapse file tree 31 files changed +63
-0
lines changed Expand file tree Collapse file tree 31 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 292
292
__dummy4: [ c_char; 16 ] ,
293
293
}
294
294
295
+ // FIXME(1.0): This should not implement `PartialEq`
296
+ #[ allow( unpredictable_function_pointer_comparisons) ]
295
297
pub struct sigaction {
296
298
pub sa_sigaction: crate :: sighandler_t,
297
299
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change @@ -520,6 +520,8 @@ s_no_extra_traits! {
520
520
pub mc_fpregs: [ c_uint; 256 ] ,
521
521
}
522
522
523
+ // FIXME(1.0): This should not implement `PartialEq`
524
+ #[ allow( unpredictable_function_pointer_comparisons) ]
523
525
pub struct ucontext_t {
524
526
pub uc_sigmask: crate :: sigset_t,
525
527
pub uc_mcontext: mcontext_t,
Original file line number Diff line number Diff line change @@ -237,6 +237,8 @@ impl Clone for devstat_select_mode {
237
237
}
238
238
239
239
s ! {
240
+ // FIXME(1.0): This should not implement `PartialEq`
241
+ #[ allow( unpredictable_function_pointer_comparisons) ]
240
242
pub struct __c_anonymous_sigev_thread {
241
243
pub _function: Option <extern "C" fn ( crate :: sigval) -> * mut c_void>,
242
244
//pub _function: *mut c_void, // Actually a function pointer
Original file line number Diff line number Diff line change 351
351
pub cr2: u64 ,
352
352
}
353
353
354
+ // FIXME(1.0): This should not implement `PartialEq`
355
+ #[ allow( unpredictable_function_pointer_comparisons) ]
354
356
pub struct sigevent {
355
357
pub sigev_value: sigval,
356
358
pub sigev_signo: c_int,
Original file line number Diff line number Diff line change @@ -403,11 +403,14 @@ s! {
403
403
}
404
404
405
405
// kernel/image.h
406
+ // FIXME(1.0): This should not implement `PartialEq`
407
+ #[ allow( unpredictable_function_pointer_comparisons) ]
406
408
pub struct image_info {
407
409
pub id: image_id,
408
410
pub image_type: c_int,
409
411
pub sequence: i32 ,
410
412
pub init_order: i32 ,
413
+ // FIXME(1.0): these should be made optional
411
414
pub init_routine: extern "C" fn ( ) ,
412
415
pub term_routine: extern "C" fn ( ) ,
413
416
pub device: crate :: dev_t,
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ pub type __u64 = c_ulonglong;
12
12
pub type __s64 = c_longlong ;
13
13
14
14
s ! {
15
+ // FIXME(1.0): This should not implement `PartialEq`
16
+ #[ allow( unpredictable_function_pointer_comparisons) ]
15
17
pub struct sigaction {
16
18
pub sa_sigaction: crate :: sighandler_t,
17
19
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change 12
12
__val: [ c_ulong; 1 ] ,
13
13
}
14
14
15
+ // FIXME(1.0): This should not implement `PartialEq`
16
+ #[ allow( unpredictable_function_pointer_comparisons) ]
15
17
pub struct sigaction {
16
18
pub sa_flags: c_int,
17
19
pub sa_sigaction: crate :: sighandler_t,
Original file line number Diff line number Diff line change 158
158
pub sem_flg: c_short,
159
159
}
160
160
161
+ // FIXME(1.0): This should not implement `PartialEq`
162
+ #[ allow( unpredictable_function_pointer_comparisons) ]
161
163
pub struct sigaction {
162
164
pub sa_sigaction: crate :: sighandler_t,
163
165
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ use crate::{off64_t, off_t};
4
4
pub type wchar_t = u32 ;
5
5
6
6
s ! {
7
+ // FIXME(1.0): This should not implement `PartialEq`
8
+ #[ allow( unpredictable_function_pointer_comparisons) ]
7
9
pub struct sigaction {
8
10
pub sa_sigaction: crate :: sighandler_t,
9
11
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ use crate::{off64_t, off_t};
4
4
pub type wchar_t = u32 ;
5
5
6
6
s ! {
7
+ // FIXME(1.0): This should not implement `PartialEq`
8
+ #[ allow( unpredictable_function_pointer_comparisons) ]
7
9
pub struct sigaction {
8
10
pub sa_sigaction: crate :: sighandler_t,
9
11
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ use crate::{off64_t, off_t};
4
4
pub type wchar_t = i32 ;
5
5
6
6
s ! {
7
+ // FIXME(1.0): This should not implement `PartialEq`
8
+ #[ allow( unpredictable_function_pointer_comparisons) ]
7
9
pub struct sigaction {
8
10
pub sa_sigaction: crate :: sighandler_t,
9
11
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change 163
163
__f_spare: [ c_int; 6 ] ,
164
164
}
165
165
166
+ // FIXME(1.0): This should not implement `PartialEq`
167
+ #[ allow( unpredictable_function_pointer_comparisons) ]
166
168
pub struct sigaction {
167
169
pub sa_flags: c_int,
168
170
pub sa_sigaction: crate :: sighandler_t,
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ use crate::{off64_t, off_t};
4
4
pub type wchar_t = i32 ;
5
5
6
6
s ! {
7
+ // FIXME(1.0): This should not implement `PartialEq`
8
+ #[ allow( unpredictable_function_pointer_comparisons) ]
7
9
pub struct sigaction {
8
10
pub sa_sigaction: crate :: sighandler_t,
9
11
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change 108
108
pub ss_size: size_t,
109
109
}
110
110
111
+ // FIXME(1.0): This should not implement `PartialEq`
112
+ #[ allow( unpredictable_function_pointer_comparisons) ]
111
113
pub struct sigaction {
112
114
pub sa_sigaction: crate :: sighandler_t,
113
115
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ use crate::{off64_t, off_t};
6
6
pub type wchar_t = i32 ;
7
7
8
8
s ! {
9
+ // FIXME(1.0): This should not implement `PartialEq`
10
+ #[ allow( unpredictable_function_pointer_comparisons) ]
9
11
pub struct sigaction {
10
12
pub sa_sigaction: crate :: sighandler_t,
11
13
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ pub type wchar_t = i32;
5
5
pub type greg_t = i32 ;
6
6
7
7
s ! {
8
+ // FIXME(1.0): This should not implement `PartialEq`
9
+ #[ allow( unpredictable_function_pointer_comparisons) ]
8
10
pub struct sigaction {
9
11
pub sa_sigaction: crate :: sighandler_t,
10
12
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ pub type __u64 = c_ulonglong;
11
11
pub type __s64 = c_longlong ;
12
12
13
13
s ! {
14
+ // FIXME(1.0): This should not implement `PartialEq`
15
+ #[ allow( unpredictable_function_pointer_comparisons) ]
14
16
pub struct sigaction {
15
17
pub sa_sigaction: crate :: sighandler_t,
16
18
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change 134
134
__size: [ c_ulong; 7 ] ,
135
135
}
136
136
137
+ // FIXME(1.0): This should not implement `PartialEq`
138
+ #[ allow( unpredictable_function_pointer_comparisons) ]
137
139
pub struct sigaction {
138
140
pub sa_sigaction: crate :: sighandler_t,
139
141
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change 136
136
__size: [ c_ulong; 7 ] ,
137
137
}
138
138
139
+ // FIXME(1.0): This should not implement `PartialEq`
140
+ #[ allow( unpredictable_function_pointer_comparisons) ]
139
141
pub struct sigaction {
140
142
pub sa_flags: c_int,
141
143
pub sa_sigaction: crate :: sighandler_t,
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ pub type __u64 = c_ulong;
11
11
pub type __s64 = c_long ;
12
12
13
13
s ! {
14
+ // FIXME(1.0): This should not implement `PartialEq`
15
+ #[ allow( unpredictable_function_pointer_comparisons) ]
14
16
pub struct sigaction {
15
17
pub sa_sigaction: crate :: sighandler_t,
16
18
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change 143
143
pub ss_size: size_t,
144
144
}
145
145
146
+ // FIXME(1.0): This should not implement `PartialEq`
147
+ #[ allow( unpredictable_function_pointer_comparisons) ]
146
148
pub struct sigaction {
147
149
pub sa_sigaction: crate :: sighandler_t,
148
150
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ pub type __u64 = u64;
12
12
pub type __s64 = i64 ;
13
13
14
14
s ! {
15
+ // FIXME(1.0): This should not implement `PartialEq`
16
+ #[ allow( unpredictable_function_pointer_comparisons) ]
15
17
pub struct sigaction {
16
18
pub sa_sigaction: crate :: sighandler_t,
17
19
__glibc_reserved0: c_int,
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ pub type __u64 = c_ulonglong;
11
11
pub type __s64 = c_longlong ;
12
12
13
13
s ! {
14
+ // FIXME(1.0): This should not implement `PartialEq`
15
+ #[ allow( unpredictable_function_pointer_comparisons) ]
14
16
pub struct sigaction {
15
17
pub sa_sigaction: crate :: sighandler_t,
16
18
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ pub type __u64 = c_ulonglong;
12
12
pub type __s64 = c_longlong ;
13
13
14
14
s ! {
15
+ // FIXME(1.0): This should not implement `PartialEq`
16
+ #[ allow( unpredictable_function_pointer_comparisons) ]
15
17
pub struct sigaction {
16
18
pub sa_sigaction: crate :: sighandler_t,
17
19
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change @@ -122,6 +122,8 @@ impl siginfo_t {
122
122
}
123
123
124
124
s ! {
125
+ // FIXME(1.0): This should not implement `PartialEq`
126
+ #[ allow( unpredictable_function_pointer_comparisons) ]
125
127
pub struct sigaction {
126
128
pub sa_sigaction: crate :: sighandler_t,
127
129
pub sa_mask: crate :: sigset_t,
Original file line number Diff line number Diff line change 163
163
__val: [ c_ulong; 2 ] ,
164
164
}
165
165
166
+ // FIXME(1.0): This should not implement `PartialEq`
167
+ #[ allow( unpredictable_function_pointer_comparisons) ]
166
168
pub struct sigaction {
167
169
pub sa_sigaction: crate :: sighandler_t,
168
170
pub sa_flags: c_ulong,
Original file line number Diff line number Diff line change 132
132
st_pad4: [ c_long; 3 ] ,
133
133
}
134
134
135
+ // FIXME(1.0): This should not implement `PartialEq`
136
+ #[ allow( unpredictable_function_pointer_comparisons) ]
135
137
pub struct sigaction {
136
138
pub sa_handler: crate :: sighandler_t,
137
139
pub sa_flags: c_ulong,
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ missing! {
14
14
}
15
15
16
16
s ! {
17
+ // FIXME(1.0): This should not implement `PartialEq`
18
+ #[ allow( unpredictable_function_pointer_comparisons) ]
17
19
pub struct __c_anonymous_sigev_thread {
18
20
pub _function: Option <extern "C" fn ( crate :: sigval) -> * mut c_void>,
19
21
pub _attribute: * mut crate :: pthread_attr_t,
Original file line number Diff line number Diff line change 576
576
re_g: * mut c_void,
577
577
}
578
578
579
+ // FIXME(1.0): This should not implement `PartialEq`
580
+ #[ allow( unpredictable_function_pointer_comparisons) ]
579
581
pub struct _thread_attr {
580
582
pub __flags: c_int,
581
583
pub __stacksize: size_t,
Original file line number Diff line number Diff line change 137
137
pub ev: crate :: __c_anonymous_struct_ev,
138
138
}
139
139
140
+ // FIXME(1.0): This should not implement `PartialEq`
141
+ #[ allow( unpredictable_function_pointer_comparisons) ]
140
142
pub struct _sighandler_info {
141
143
pub siginfo: crate :: siginfo_t,
142
144
pub handler: Option <unsafe extern "C" fn ( value: c_int) >,
Original file line number Diff line number Diff line change 157
157
pub pw_shell: * mut c_char,
158
158
}
159
159
160
+ // FIXME(1.0): This should not implement `PartialEq`
161
+ #[ allow( unpredictable_function_pointer_comparisons) ]
160
162
pub struct sigaction {
161
163
pub sa_sigaction: crate :: sighandler_t,
162
164
pub sa_flags: c_ulong,
You can’t perform that action at this time.
0 commit comments