Skip to content

Commit af6e221

Browse files
Bryant MairsSusurrus
Bryant Mairs
authored andcommitted
Remove termios2 from musl targets
As of musl 1.1.20, termios2 doesn't exist in musl for any target.
1 parent a7ef34a commit af6e221

File tree

5 files changed

+0
-55
lines changed

5 files changed

+0
-55
lines changed

src/unix/notbsd/linux/musl/b32/arm.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -150,17 +150,6 @@ s! {
150150
pub f_namemax: ::c_ulong,
151151
__f_spare: [::c_int; 6],
152152
}
153-
154-
pub struct termios2 {
155-
pub c_iflag: ::tcflag_t,
156-
pub c_oflag: ::tcflag_t,
157-
pub c_cflag: ::tcflag_t,
158-
pub c_lflag: ::tcflag_t,
159-
pub c_line: ::cc_t,
160-
pub c_cc: [::cc_t; 19],
161-
pub c_ispeed: ::speed_t,
162-
pub c_ospeed: ::speed_t,
163-
}
164153
}
165154

166155
pub const SIGSTKSZ: ::size_t = 8192;

src/unix/notbsd/linux/musl/b32/mips.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -161,17 +161,6 @@ s! {
161161
pub f_namemax: ::c_ulong,
162162
__f_spare: [::c_int; 6],
163163
}
164-
165-
pub struct termios2 {
166-
pub c_iflag: ::tcflag_t,
167-
pub c_oflag: ::tcflag_t,
168-
pub c_cflag: ::tcflag_t,
169-
pub c_lflag: ::tcflag_t,
170-
pub c_line: ::cc_t,
171-
pub c_cc: [::cc_t; 23],
172-
pub c_ispeed: ::speed_t,
173-
pub c_ospeed: ::speed_t,
174-
}
175164
}
176165

177166
pub const SIGSTKSZ: ::size_t = 8192;

src/unix/notbsd/linux/musl/b32/powerpc.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,6 @@ s! {
153153
pub f_namemax: ::c_ulong,
154154
__f_spare: [::c_int; 6],
155155
}
156-
157-
pub struct termios2 {
158-
pub c_iflag: ::tcflag_t,
159-
pub c_oflag: ::tcflag_t,
160-
pub c_cflag: ::tcflag_t,
161-
pub c_lflag: ::tcflag_t,
162-
pub c_cc: [::cc_t; 19],
163-
pub c_line: ::cc_t,
164-
pub c_ispeed: ::speed_t,
165-
pub c_ospeed: ::speed_t,
166-
}
167156
}
168157

169158
pub const SIGSTKSZ: ::size_t = 10240;

src/unix/notbsd/linux/musl/b32/x86.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,6 @@ s! {
154154
pub f_namemax: ::c_ulong,
155155
__f_spare: [::c_int; 6],
156156
}
157-
158-
pub struct termios2 {
159-
pub c_iflag: ::tcflag_t,
160-
pub c_oflag: ::tcflag_t,
161-
pub c_cflag: ::tcflag_t,
162-
pub c_lflag: ::tcflag_t,
163-
pub c_line: ::cc_t,
164-
pub c_cc: [::cc_t; 19],
165-
pub c_ispeed: ::speed_t,
166-
pub c_ospeed: ::speed_t,
167-
}
168157
}
169158

170159
s_no_extra_traits!{

src/unix/notbsd/linux/musl/b64/mod.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -127,17 +127,6 @@ s! {
127127
pub _pad: [::c_int; 29],
128128
_align: [usize; 0],
129129
}
130-
131-
pub struct termios2 {
132-
pub c_iflag: ::tcflag_t,
133-
pub c_oflag: ::tcflag_t,
134-
pub c_cflag: ::tcflag_t,
135-
pub c_lflag: ::tcflag_t,
136-
pub c_line: ::cc_t,
137-
pub c_cc: [::cc_t; 19],
138-
pub c_ispeed: ::speed_t,
139-
pub c_ospeed: ::speed_t,
140-
}
141130
}
142131

143132
pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56;

0 commit comments

Comments
 (0)