@@ -1193,13 +1193,13 @@ s! {
1193
1193
}
1194
1194
1195
1195
s_no_extra_traits ! {
1196
- #[ cfg_attr ( libc_packedN , repr( packed( 4 ) ) ) ]
1196
+ #[ repr( packed( 4 ) ) ]
1197
1197
pub struct ifconf {
1198
1198
pub ifc_len: :: c_int,
1199
1199
pub ifc_ifcu: __c_anonymous_ifc_ifcu,
1200
1200
}
1201
1201
1202
- #[ cfg_attr ( libc_packedN , repr( packed( 4 ) ) ) ]
1202
+ #[ repr( packed( 4 ) ) ]
1203
1203
pub struct kevent {
1204
1204
pub ident: :: uintptr_t,
1205
1205
pub filter: i16 ,
@@ -1209,7 +1209,7 @@ s_no_extra_traits! {
1209
1209
pub udata: * mut :: c_void,
1210
1210
}
1211
1211
1212
- #[ cfg_attr ( libc_packedN , repr( packed( 4 ) ) ) ]
1212
+ #[ repr( packed( 4 ) ) ]
1213
1213
pub struct semid_ds {
1214
1214
// Note the manpage shows different types than the system header.
1215
1215
pub sem_perm: ipc_perm,
@@ -1222,7 +1222,7 @@ s_no_extra_traits! {
1222
1222
pub sem_pad3: [ i32 ; 4 ] ,
1223
1223
}
1224
1224
1225
- #[ cfg_attr ( libc_packedN , repr( packed( 4 ) ) ) ]
1225
+ #[ repr( packed( 4 ) ) ]
1226
1226
pub struct shmid_ds {
1227
1227
pub shm_perm: ipc_perm,
1228
1228
pub shm_segsz: :: size_t,
@@ -1381,7 +1381,7 @@ s_no_extra_traits! {
1381
1381
pub pth_name: [ :: c_char; MAXTHREADNAMESIZE ] ,
1382
1382
}
1383
1383
1384
- #[ cfg_attr ( libc_packedN , repr( packed( 4 ) ) ) ]
1384
+ #[ repr( packed( 4 ) ) ]
1385
1385
pub struct if_data64 {
1386
1386
pub ifi_type: :: c_uchar,
1387
1387
pub ifi_typelen: :: c_uchar,
@@ -1413,7 +1413,7 @@ s_no_extra_traits! {
1413
1413
pub ifi_lastchange: timeval32,
1414
1414
}
1415
1415
1416
- #[ cfg_attr ( libc_packedN , repr( packed( 4 ) ) ) ]
1416
+ #[ repr( packed( 4 ) ) ]
1417
1417
pub struct if_msghdr2 {
1418
1418
pub ifm_msglen: :: c_ushort,
1419
1419
pub ifm_version: :: c_uchar,
@@ -1428,7 +1428,7 @@ s_no_extra_traits! {
1428
1428
pub ifm_data: if_data64,
1429
1429
}
1430
1430
1431
- #[ cfg_attr ( libc_packedN , repr( packed( 8 ) ) ) ]
1431
+ #[ repr( packed( 8 ) ) ]
1432
1432
pub struct vm_statistics64 {
1433
1433
pub free_count: natural_t,
1434
1434
pub active_count: natural_t,
@@ -1456,7 +1456,7 @@ s_no_extra_traits! {
1456
1456
pub total_uncompressed_pages_in_compressor: u64 ,
1457
1457
}
1458
1458
1459
- #[ cfg_attr ( libc_packedN , repr( packed( 4 ) ) ) ]
1459
+ #[ repr( packed( 4 ) ) ]
1460
1460
pub struct mach_task_basic_info {
1461
1461
pub virtual_size: mach_vm_size_t,
1462
1462
pub resident_size: mach_vm_size_t,
@@ -1467,7 +1467,7 @@ s_no_extra_traits! {
1467
1467
pub suspend_count: integer_t,
1468
1468
}
1469
1469
1470
- #[ cfg_attr ( libc_packedN , repr( packed( 4 ) ) ) ]
1470
+ #[ repr( packed( 4 ) ) ]
1471
1471
pub struct log2phys {
1472
1472
pub l2p_flags: :: c_uint,
1473
1473
pub l2p_contigbytes: :: off_t,
@@ -1478,7 +1478,7 @@ s_no_extra_traits! {
1478
1478
_os_unfair_lock_opaque: u32 ,
1479
1479
}
1480
1480
1481
- #[ cfg_attr ( libc_packedN , repr( packed( 1 ) ) ) ]
1481
+ #[ repr( packed( 1 ) ) ]
1482
1482
pub struct sockaddr_vm {
1483
1483
pub svm_len: :: c_uchar,
1484
1484
pub svm_family: :: sa_family_t,
@@ -1498,7 +1498,7 @@ s_no_extra_traits! {
1498
1498
pub ifk_value: :: c_int,
1499
1499
}
1500
1500
1501
- #[ cfg_attr ( libc_packedN , repr( packed( 4 ) ) ) ]
1501
+ #[ repr( packed( 4 ) ) ]
1502
1502
pub struct ifkpi {
1503
1503
pub ifk_module_id: :: c_uint,
1504
1504
pub ifk_type: :: c_uint,
0 commit comments