File tree 10 files changed +12
-0
lines changed
10 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -472,6 +472,7 @@ fn main() {
472
472
// are header conflicts if we try to include the headers that define them here.
473
473
"F_CANCELLK" | "F_ADD_SEALS" | "F_GET_SEALS" => true ,
474
474
"F_SEAL_SEAL" | "F_SEAL_SHRINK" | "F_SEAL_GROW" | "F_SEAL_WRITE" => true ,
475
+ "BOTHER" => true ,
475
476
476
477
_ => false ,
477
478
}
@@ -662,10 +663,12 @@ fn main() {
662
663
} else {
663
664
cfg. header ( "linux/fcntl.h" ) ;
664
665
}
666
+ cfg. header ( "asm/termbits.h" ) ;
665
667
cfg. skip_const ( move |name| {
666
668
match name {
667
669
"F_CANCELLK" | "F_ADD_SEALS" | "F_GET_SEALS" => false ,
668
670
"F_SEAL_SEAL" | "F_SEAL_SHRINK" | "F_SEAL_GROW" | "F_SEAL_WRITE" => false ,
671
+ "BOTHER" => false ,
669
672
_ => true ,
670
673
}
671
674
} ) ;
Original file line number Diff line number Diff line change @@ -731,6 +731,7 @@ pub const B19200: ::speed_t = 0o000016;
731
731
pub const B38400 : :: speed_t = 0o000017 ;
732
732
pub const EXTA : :: speed_t = B19200 ;
733
733
pub const EXTB : :: speed_t = B38400 ;
734
+ pub const BOTHER : :: speed_t = 0o010000 ;
734
735
pub const B57600 : :: speed_t = 0o010001 ;
735
736
pub const B115200 : :: speed_t = 0o010002 ;
736
737
pub const B230400 : :: speed_t = 0o010003 ;
Original file line number Diff line number Diff line change @@ -591,6 +591,7 @@ pub const B19200: ::speed_t = 0o000016;
591
591
pub const B38400 : :: speed_t = 0o000017 ;
592
592
pub const EXTA : :: speed_t = B19200 ;
593
593
pub const EXTB : :: speed_t = B38400 ;
594
+ pub const BOTHER : :: speed_t = 0o010000 ;
594
595
pub const B57600 : :: speed_t = 0o010001 ;
595
596
pub const B115200 : :: speed_t = 0o010002 ;
596
597
pub const B230400 : :: speed_t = 0o010003 ;
Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ pub const B19200: ::speed_t = 0o000016;
175
175
pub const B38400 : :: speed_t = 0o000017 ;
176
176
pub const EXTA : :: speed_t = B19200 ;
177
177
pub const EXTB : :: speed_t = B38400 ;
178
+ pub const BOTHER : :: speed_t = 0o010000 ;
178
179
pub const B57600 : :: speed_t = 0o010001 ;
179
180
pub const B115200 : :: speed_t = 0o010002 ;
180
181
pub const B230400 : :: speed_t = 0o010003 ;
Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ pub const B2500000: ::speed_t = 0o0033;
187
187
pub const B3000000 : :: speed_t = 0o0034 ;
188
188
pub const B3500000 : :: speed_t = 0o0035 ;
189
189
pub const B4000000 : :: speed_t = 0o0036 ;
190
+ pub const BOTHER : :: speed_t = 0o0037 ;
190
191
191
192
pub const VEOL : usize = 6 ;
192
193
pub const VEOL2 : usize = 8 ;
Original file line number Diff line number Diff line change @@ -273,6 +273,7 @@ pub const B19200: ::speed_t = 0o000016;
273
273
pub const B38400 : :: speed_t = 0o000017 ;
274
274
pub const EXTA : :: speed_t = B19200 ;
275
275
pub const EXTB : :: speed_t = B38400 ;
276
+ pub const BOTHER : :: speed_t = 0o010000 ;
276
277
pub const B57600 : :: speed_t = 0o010001 ;
277
278
pub const B115200 : :: speed_t = 0o010002 ;
278
279
pub const B230400 : :: speed_t = 0o010003 ;
Original file line number Diff line number Diff line change @@ -415,6 +415,7 @@ pub const B19200: ::speed_t = 0o000016;
415
415
pub const B38400 : :: speed_t = 0o000017 ;
416
416
pub const EXTA : :: speed_t = B19200 ;
417
417
pub const EXTB : :: speed_t = B38400 ;
418
+ pub const BOTHER : :: speed_t = 0o010000 ;
418
419
pub const B57600 : :: speed_t = 0o010001 ;
419
420
pub const B115200 : :: speed_t = 0o010002 ;
420
421
pub const B230400 : :: speed_t = 0o010003 ;
Original file line number Diff line number Diff line change @@ -427,6 +427,7 @@ pub const B2500000: ::speed_t = 0o0033;
427
427
pub const B3000000 : :: speed_t = 0o0034 ;
428
428
pub const B3500000 : :: speed_t = 0o0035 ;
429
429
pub const B4000000 : :: speed_t = 0o0036 ;
430
+ pub const BOTHER : :: speed_t = 0o0037 ;
430
431
431
432
pub const VEOL : usize = 6 ;
432
433
pub const VEOL2 : usize = 8 ;
Original file line number Diff line number Diff line change @@ -522,6 +522,7 @@ pub const B19200: ::speed_t = 0o000016;
522
522
pub const B38400 : :: speed_t = 0o000017 ;
523
523
pub const EXTA : :: speed_t = B19200 ;
524
524
pub const EXTB : :: speed_t = B38400 ;
525
+ pub const BOTHER : :: speed_t = 0o010000 ;
525
526
pub const B57600 : :: speed_t = 0o010001 ;
526
527
pub const B115200 : :: speed_t = 0o010002 ;
527
528
pub const B230400 : :: speed_t = 0o010003 ;
Original file line number Diff line number Diff line change @@ -844,6 +844,7 @@ pub const PARODD: ::tcflag_t = 0o001000;
844
844
pub const HUPCL : :: tcflag_t = 0o002000 ;
845
845
pub const CLOCAL : :: tcflag_t = 0o004000 ;
846
846
pub const CBAUDEX : :: tcflag_t = 0o010000 ;
847
+ pub const BOTHER : :: speed_t = 0o010000 ;
847
848
pub const B57600 : :: speed_t = 0o010001 ;
848
849
pub const B115200 : :: speed_t = 0o010002 ;
849
850
pub const B230400 : :: speed_t = 0o010003 ;
You can’t perform that action at this time.
0 commit comments