File tree 1 file changed +6
-4
lines changed
src/unix/linux_like/linux/musl
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 148
148
149
149
// `mips*` targets swap the `s_errno` and `s_code` fields otherwise this struct is
150
150
// target-agnostic (see https://www.openwall.com/lists/musl/2016/01/27/1/2)
151
+ //
152
+ // FIXME(union): C implementation uses unions
151
153
pub struct siginfo_t {
152
154
pub si_signo: :: c_int,
153
155
#[ cfg( not( target_arch = "mips" ) ) ]
@@ -177,12 +179,12 @@ s! {
177
179
#[ cfg( target_endian = "little" ) ]
178
180
pub f_fsid: :: c_ulong,
179
181
#[ cfg( target_pointer_width = "32" ) ]
180
- __f_unused : :: c_int,
182
+ __pad : :: c_int,
181
183
#[ cfg( target_endian = "big" ) ]
182
184
pub f_fsid: :: c_ulong,
183
185
pub f_flag: :: c_ulong,
184
186
pub f_namemax: :: c_ulong,
185
- __f_spare : [ :: c_int; 6 ] ,
187
+ __f_reserved : [ :: c_int; 6 ] ,
186
188
}
187
189
188
190
pub struct statvfs64 {
@@ -197,12 +199,12 @@ s! {
197
199
#[ cfg( target_endian = "little" ) ]
198
200
pub f_fsid: :: c_ulong,
199
201
#[ cfg( target_pointer_width = "32" ) ]
200
- __f_unused : :: c_int,
202
+ __pad : :: c_int,
201
203
#[ cfg( target_endian = "big" ) ]
202
204
pub f_fsid: :: c_ulong,
203
205
pub f_flag: :: c_ulong,
204
206
pub f_namemax: :: c_ulong,
205
- __f_spare : [ :: c_int; 6 ] ,
207
+ __f_reserved : [ :: c_int; 6 ] ,
206
208
}
207
209
208
210
pub struct termios {
You can’t perform that action at this time.
0 commit comments